#5E9B20#5E9B20

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

Color values

HEX#5E9B20
RGBrgb(94, 155, 32)
HSLhsl(90, 66%, 37%)
HSVhsv(90, 79%, 61%)
CMYKcmyk(39.4%, 0%, 79.4%, 39.2%)
CIE-LABlab(57.97, -39.35, 53.62)
CIE-LCHlch(57.97, 66.50, 126.27°)
OKLaboklab(62.45% -0.1109 0.1187)
OKLCHoklch(62.45% 0.163 133.1)
XYZxyz(16.5979, 25.9259, 5.4959)
Luminance0.2593 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9B20 #5D209B
analogous
#9B9B20 #5E9B20 #219B20
triadic
#5E9B20 #205E9B #9B205E
tetradic
#5E9B20 #209B9B #5D209B #9B2021
square
#5E9B20 #209B9B #5D209B #9B2021
split-complementary
#5E9B20 #20219B #9B209B
monochromatic
#20360B #3F6816 #5E9B20 #7DCE2A #9BDD59

Accessibility & contrast

On white

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

On black

6.19
#5E9B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E9B20
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E9B20#FFFFFF#000000##000000
##5E9B201.003.406.196.19
#FFFFFF3.401.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28E00
Deuteranopia (green-blind)
#998A2D
Tritanopia (blue-blind)
#5E9584
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5e9b20;
/* rgb */ color: rgb(94, 155, 32);
/* oklch */ color: oklch(62.4% 0.163 133.1);
Tailwind
colors: {
  custom: {
    50: '#91b966',
    500: '#5e9b20',
    950: '#000000',
  },
}
SCSS
$custom: #5e9b20;
$custom-light: #91b966;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9b20",
  "rgb": {
    "r": 94,
    "g": 155,
    "b": 32
  },
  "hsl": {
    "h": 89.756,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62447,
    "c": 0.16251,
    "h": 133.1
  },
  "luminance": 0.25927
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E9B20

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

Preview Lab → · Contrast checker → · Palette generator →

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