#528E31#528E31

#528E31 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.5% C 0.141 H 136.2°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#528E31
RGBrgb(82, 142, 49)
HSLhsl(99, 49%, 37%)
HSVhsv(99, 65%, 56%)
CMYKcmyk(42.3%, 0%, 65.5%, 44.3%)
CIE-LABlab(53.34, -36.69, 42.18)
CIE-LCHlch(53.34, 55.90, 131.02°)
OKLaboklab(58.54% -0.1017 0.0974)
OKLCHoklch(58.54% 0.141 136.2)
XYZxyz(13.7067, 21.3608, 6.3060)
Luminance0.2136 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528E31 #6D318E
analogous
#808E31 #528E31 #318E3F
triadic
#528E31 #31528E #8E3152
tetradic
#528E31 #31808E #6D318E #8E3F31
square
#528E31 #31808E #6D318E #8E3F31
split-complementary
#528E31 #3F318E #8E3180
monochromatic
#1D3312 #386121 #528E31 #6CBB41 #8FCD6D

Accessibility & contrast

On white

3.98
#528E31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#528E31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528E31
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528E31#FFFFFF#000000##000000
##528E311.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938326
Deuteranopia (green-blind)
#8B7E39
Tritanopia (blue-blind)
#50897B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #528e31;
/* rgb */ color: rgb(82, 142, 49);
/* oklch */ color: oklch(58.5% 0.141 136.2);
Tailwind
colors: {
  custom: {
    50: '#87af6d',
    500: '#528e31',
    950: '#000000',
  },
}
SCSS
$custom: #528e31;
$custom-light: #87af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#528e31",
  "rgb": {
    "r": 82,
    "g": 142,
    "b": 49
  },
  "hsl": {
    "h": 98.71,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58541,
    "c": 0.14079,
    "h": 136.2
  },
  "luminance": 0.21362
}

Semantic roles & 50–950 ramp

primary
#528E31
secondary
#9967B4
accent
#50D8A8
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #528E31

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

Preview Lab → · Contrast checker → · Palette generator →

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