#528F31#528F31

#528F31 is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 58.8% C 0.142 H 136.4°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#528F31
RGBrgb(82, 143, 49)
HSLhsl(99, 49%, 38%)
HSVhsv(99, 66%, 56%)
CMYKcmyk(42.7%, 0%, 65.7%, 43.9%)
CIE-LABlab(53.66, -37.13, 42.53)
CIE-LCHlch(53.66, 56.45, 131.12°)
OKLaboklab(58.8% -0.1029 0.0981)
OKLCHoklch(58.8% 0.142 136.4)
XYZxyz(13.8561, 21.6597, 6.3558)
Luminance0.2166 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528F31 #6E318F
analogous
#818F31 #528F31 #318F3F
triadic
#528F31 #31528F #8F3152
tetradic
#528F31 #31818F #6E318F #8F3F31
square
#528F31 #31818F #6E318F #8F3F31
split-complementary
#528F31 #3F318F #8F3181
monochromatic
#1E3412 #386121 #528F31 #6CBD41 #8FCD6D

Accessibility & contrast

On white

3.94
#528F31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#528F31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528F31
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528F31#FFFFFF#000000##000000
##528F311.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948325
Deuteranopia (green-blind)
#8C7E39
Tritanopia (blue-blind)
#508A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #528f31;
/* rgb */ color: rgb(82, 143, 49);
/* oklch */ color: oklch(58.8% 0.142 136.4);
Tailwind
colors: {
  custom: {
    50: '#87b06e',
    500: '#528f31',
    950: '#000000',
  },
}
SCSS
$custom: #528f31;
$custom-light: #87b06e;
$custom-dark: #000000;
JSON
{
  "hex": "#528f31",
  "rgb": {
    "r": 82,
    "g": 143,
    "b": 49
  },
  "hsl": {
    "h": 98.936,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.58805,
    "c": 0.14216,
    "h": 136.4
  },
  "luminance": 0.21661
}

Semantic roles & 50–950 ramp

primary
#528F31
secondary
#9967B5
accent
#4FD9A8
background
#F8FAF6
surface
#F0F5EC
border
#CBCFC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #528F31

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

Preview Lab → · Contrast checker → · Palette generator →

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