#5D9A20#5D9A20

#5D9A20 is a light, vivid yellow-green. Relative luminance 0.255; OKLCH L 62.1% C 0.162 H 133.2°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5D9A20
RGBrgb(93, 154, 32)
HSLhsl(90, 66%, 36%)
HSVhsv(90, 79%, 60%)
CMYKcmyk(39.6%, 0%, 79.2%, 39.6%)
CIE-LABlab(57.60, -39.28, 53.25)
CIE-LCHlch(57.60, 66.17, 126.41°)
OKLaboklab(62.13% -0.1107 0.118)
OKLCHoklch(62.13% 0.162 133.2)
XYZxyz(16.3303, 25.5419, 5.4358)
Luminance0.2554 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9A20 #5D209A
analogous
#9A9A20 #5D9A20 #209A20
triadic
#5D9A20 #205D9A #9A205D
tetradic
#5D9A20 #209A9A #5D209A #9A2020
square
#5D9A20 #209A9A #5D209A #9A2020
split-complementary
#5D9A20 #20209A #9A209A
monochromatic
#20350B #3E6715 #5D9A20 #7CCD2B #9ADC58

Accessibility & contrast

On white

3.44
#5D9A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#5D9A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9A20
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9A20#FFFFFF#000000##000000
##5D9A201.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#98892D
Tritanopia (blue-blind)
#5D9483
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5d9a20;
/* rgb */ color: rgb(93, 154, 32);
/* oklch */ color: oklch(62.1% 0.162 133.2);
Tailwind
colors: {
  custom: {
    50: '#90b866',
    500: '#5d9a20',
    950: '#000000',
  },
}
SCSS
$custom: #5d9a20;
$custom-light: #90b866;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9a20",
  "rgb": {
    "r": 93,
    "g": 154,
    "b": 32
  },
  "hsl": {
    "h": 90,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62134,
    "c": 0.16178,
    "h": 133.2
  },
  "luminance": 0.25543
}

Semantic roles & 50–950 ramp

primary
#5D9A20
secondary
#8B56C0
accent
#3FE994
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5D9A20

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

Preview Lab → · Contrast checker → · Palette generator →

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