#5E9E20#5E9E20

#5E9E20 is a light, vivid yellow-green. Relative luminance 0.269; OKLCH L 63.2% C 0.166 H 133.5°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#5E9E20
RGBrgb(94, 158, 32)
HSLhsl(90, 66%, 37%)
HSVhsv(90, 80%, 62%)
CMYKcmyk(40.5%, 0%, 79.7%, 38%)
CIE-LABlab(58.92, -40.63, 54.50)
CIE-LCHlch(58.92, 67.98, 126.70°)
OKLaboklab(63.22% -0.1144 0.1206)
OKLCHoklch(63.22% 0.166 133.5)
XYZxyz(17.1034, 26.9368, 5.6644)
Luminance0.2694 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9E20 #60209E
analogous
#9D9E20 #5E9E20 #209E21
triadic
#5E9E20 #205E9E #9E205E
tetradic
#5E9E20 #209D9E #60209E #9E2120
square
#5E9E20 #209D9E #60209E #9E2120
split-complementary
#5E9E20 #21209E #9E209D
monochromatic
#21380B #406B16 #5E9E20 #7CD12A #9BDE5B

Accessibility & contrast

On white

3.29
#5E9E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#5E9E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E9E20
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E9E20#FFFFFF#000000##000000
##5E9E201.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#9C8C2E
Tritanopia (blue-blind)
#5E9787
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5e9e20;
/* rgb */ color: rgb(94, 158, 32);
/* oklch */ color: oklch(63.2% 0.166 133.5);
Tailwind
colors: {
  custom: {
    50: '#91bb67',
    500: '#5e9e20',
    950: '#000000',
  },
}
SCSS
$custom: #5e9e20;
$custom-light: #91bb67;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9e20",
  "rgb": {
    "r": 94,
    "g": 158,
    "b": 32
  },
  "hsl": {
    "h": 90.476,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63224,
    "c": 0.16623,
    "h": 133.5
  },
  "luminance": 0.26938
}

Semantic roles & 50–950 ramp

primary
#5E9E20
secondary
#8E58C2
accent
#3FE995
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5E9E20

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

Preview Lab → · Contrast checker → · Palette generator →

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