#5D9B20#5D9B20

#5D9B20 is a light, vivid yellow-green. Relative luminance 0.259; OKLCH L 62.4% C 0.163 H 133.3°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#5D9B20
RGBrgb(93, 155, 32)
HSLhsl(90, 66%, 37%)
HSVhsv(90, 79%, 61%)
CMYKcmyk(40%, 0%, 79.4%, 39.2%)
CIE-LABlab(57.92, -39.70, 53.55)
CIE-LCHlch(57.92, 66.66, 126.56°)
OKLaboklab(62.39% -0.1118 0.1186)
OKLCHoklch(62.39% 0.163 133.3)
XYZxyz(16.4960, 25.8733, 5.4911)
Luminance0.2587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9B20 #5E209B
analogous
#9B9B20 #5D9B20 #209B21
triadic
#5D9B20 #205D9B #9B205D
tetradic
#5D9B20 #209B9B #5E209B #9B2120
square
#5D9B20 #209B9B #5E209B #9B2120
split-complementary
#5D9B20 #21209B #9B209B
monochromatic
#20360B #3F6816 #5D9B20 #7BCE2A #9ADD59

Accessibility & contrast

On white

3.40
#5D9B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#5D9B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9B20
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9B20#FFFFFF#000000##000000
##5D9B201.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#99892D
Tritanopia (blue-blind)
#5D9584
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5d9b20;
/* rgb */ color: rgb(93, 155, 32);
/* oklch */ color: oklch(62.4% 0.163 133.3);
Tailwind
colors: {
  custom: {
    50: '#90b966',
    500: '#5d9b20',
    950: '#000000',
  },
}
SCSS
$custom: #5d9b20;
$custom-light: #90b966;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9b20",
  "rgb": {
    "r": 93,
    "g": 155,
    "b": 32
  },
  "hsl": {
    "h": 90.244,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62393,
    "c": 0.16304,
    "h": 133.3
  },
  "luminance": 0.25874
}

Semantic roles & 50–950 ramp

primary
#5D9B20
secondary
#8C56C1
accent
#3FE995
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5D9B20

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

Preview Lab → · Contrast checker → · Palette generator →

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