#5F9D20#5F9D20

#5F9D20 is a light, vivid yellow-green. Relative luminance 0.267; OKLCH L 63.0% C 0.164 H 133.1°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#5F9D20
RGBrgb(95, 157, 32)
HSLhsl(90, 66%, 37%)
HSVhsv(90, 80%, 62%)
CMYKcmyk(39.5%, 0%, 79.6%, 38.4%)
CIE-LABlab(58.65, -39.85, 54.27)
CIE-LCHlch(58.65, 67.33, 126.29°)
OKLaboklab(63.02% -0.1124 0.1201)
OKLCHoklch(63.02% 0.164 133.1)
XYZxyz(17.0367, 26.6503, 5.6126)
Luminance0.2665 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9D20 #5E209D
analogous
#9D9D20 #5F9D20 #209D20
triadic
#5F9D20 #205F9D #9D205F
tetradic
#5F9D20 #209D9D #5E209D #9D2020
square
#5F9D20 #209D9D #5E209D #9D2020
split-complementary
#5F9D20 #20209D #9D209D
monochromatic
#21370B #406A16 #5F9D20 #7ED02A #9CDD5A

Accessibility & contrast

On white

3.32
#5F9D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#5F9D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9D20
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9D20#FFFFFF#000000##000000
##5F9D201.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#9B8B2E
Tritanopia (blue-blind)
#5F9686
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5f9d20;
/* rgb */ color: rgb(95, 157, 32);
/* oklch */ color: oklch(63.0% 0.164 133.1);
Tailwind
colors: {
  custom: {
    50: '#92ba66',
    500: '#5f9d20',
    950: '#000000',
  },
}
SCSS
$custom: #5f9d20;
$custom-light: #92ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9d20",
  "rgb": {
    "r": 95,
    "g": 157,
    "b": 32
  },
  "hsl": {
    "h": 89.76,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63019,
    "c": 0.16446,
    "h": 133.1
  },
  "luminance": 0.26651
}

Semantic roles & 50–950 ramp

primary
#5F9D20
secondary
#8C57C1
accent
#3FE993
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F9D20

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

Preview Lab → · Contrast checker → · Palette generator →

#5F9D20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva