#528B28#528B28

#528B28 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.7% C 0.143 H 134.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#528B28
RGBrgb(82, 139, 40)
HSLhsl(95, 55%, 35%)
HSVhsv(95, 71%, 55%)
CMYKcmyk(41%, 0%, 71.2%, 45.5%)
CIE-LABlab(52.30, -36.15, 44.93)
CIE-LCHlch(52.30, 57.67, 128.82°)
OKLaboklab(57.66% -0.1009 0.102)
OKLCHoklch(57.66% 0.143 134.7)
XYZxyz(13.0950, 20.4116, 5.2569)
Luminance0.2041 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528B28 #61288B
analogous
#848B28 #528B28 #288B2F
triadic
#528B28 #28528B #8B2852
tetradic
#528B28 #28848B #61288B #8B2F28
square
#528B28 #28848B #61288B #8B2F28
split-complementary
#528B28 #2F288B #8B2884
monochromatic
#1A2C0D #365B1A #528B28 #6EBB36 #8ED05D

Accessibility & contrast

On white

4.13
#528B28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#528B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528B28
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528B28#FFFFFF#000000##000000
##528B281.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#908019
Deuteranopia (green-blind)
#897B31
Tritanopia (blue-blind)
#518677
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #528b28;
/* rgb */ color: rgb(82, 139, 40);
/* oklch */ color: oklch(57.7% 0.143 134.7);
Tailwind
colors: {
  custom: {
    50: '#87ad68',
    500: '#528b28',
    950: '#000000',
  },
}
SCSS
$custom: #528b28;
$custom-light: #87ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#528b28",
  "rgb": {
    "r": 82,
    "g": 139,
    "b": 40
  },
  "hsl": {
    "h": 94.545,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57664,
    "c": 0.14348,
    "h": 134.7
  },
  "luminance": 0.20412
}

Semantic roles & 50–950 ramp

primary
#528B28
secondary
#8E59B6
accent
#49DF9F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528B28

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#528B28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva