#528D31#528D31

#528D31 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.3% C 0.139 H 136.1°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#528D31
RGBrgb(82, 141, 49)
HSLhsl(98, 48%, 37%)
HSVhsv(98, 65%, 55%)
CMYKcmyk(41.8%, 0%, 65.2%, 44.7%)
CIE-LABlab(53.02, -36.25, 41.82)
CIE-LCHlch(53.02, 55.34, 130.91°)
OKLaboklab(58.28% -0.1005 0.0966)
OKLCHoklch(58.28% 0.139 136.1)
XYZxyz(13.5586, 21.0646, 6.2566)
Luminance0.2107 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528D31 #6C318D
analogous
#808D31 #528D31 #318D3E
triadic
#528D31 #31528D #8D3152
tetradic
#528D31 #31808D #6C318D #8D3E31
square
#528D31 #31808D #6C318D #8D3E31
split-complementary
#528D31 #3E318D #8D3180
monochromatic
#1D3211 #386021 #528D31 #6CBA41 #8FCC6C

Accessibility & contrast

On white

4.03
#528D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#528D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528D31
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528D31#FFFFFF#000000##000000
##528D311.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928226
Deuteranopia (green-blind)
#8A7D38
Tritanopia (blue-blind)
#50887A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #528d31;
/* rgb */ color: rgb(82, 141, 49);
/* oklch */ color: oklch(58.3% 0.139 136.1);
Tailwind
colors: {
  custom: {
    50: '#87af6d',
    500: '#528d31',
    950: '#000000',
  },
}
SCSS
$custom: #528d31;
$custom-light: #87af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#528d31",
  "rgb": {
    "r": 82,
    "g": 141,
    "b": 49
  },
  "hsl": {
    "h": 98.478,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.58278,
    "c": 0.1394,
    "h": 136.1
  },
  "luminance": 0.21065
}

Semantic roles & 50–950 ramp

primary
#528D31
secondary
#9866B4
accent
#50D8A7
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #528D31

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

Preview Lab → · Contrast checker → · Palette generator →

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