#5E9820#5E9820

#5E9820 is a mid, vivid yellow-green. Relative luminance 0.249; OKLCH L 61.7% C 0.159 H 132.6°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#5E9820
RGBrgb(94, 152, 32)
HSLhsl(89, 65%, 36%)
HSVhsv(89, 79%, 60%)
CMYKcmyk(38.2%, 0%, 78.9%, 40.4%)
CIE-LABlab(57.02, -38.05, 52.72)
CIE-LCHlch(57.02, 65.02, 125.82°)
OKLaboklab(61.67% -0.1074 0.1169)
OKLCHoklch(61.67% 0.159 132.6)
XYZxyz(16.1048, 24.9397, 5.3315)
Luminance0.2494 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9820 #5A2098
analogous
#989620 #5E9820 #229820
triadic
#5E9820 #205E98 #98205E
tetradic
#5E9820 #209896 #5A2098 #982022
square
#5E9820 #209896 #5A2098 #982022
split-complementary
#5E9820 #202298 #962098
monochromatic
#1F330B #3F6515 #5E9820 #7DCB2B #9BDC57

Accessibility & contrast

On white

3.51
#5E9820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#5E9820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E9820
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E9820#FFFFFF#000000##000000
##5E98201.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#97872D
Tritanopia (blue-blind)
#5F9282
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5e9820;
/* rgb */ color: rgb(94, 152, 32);
/* oklch */ color: oklch(61.7% 0.159 132.6);
Tailwind
colors: {
  custom: {
    50: '#91b766',
    500: '#5e9820',
    950: '#000000',
  },
}
SCSS
$custom: #5e9820;
$custom-light: #91b766;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9820",
  "rgb": {
    "r": 94,
    "g": 152,
    "b": 32
  },
  "hsl": {
    "h": 89,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.6167,
    "c": 0.15874,
    "h": 132.6
  },
  "luminance": 0.2494
}

Semantic roles & 50–950 ramp

primary
#5E9820
secondary
#8854BF
accent
#40E891
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5E9820

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

Preview Lab → · Contrast checker → · Palette generator →

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