#5E9921#5E9921

#5E9921 is a mid, vivid yellow-green. Relative luminance 0.253; OKLCH L 61.9% C 0.159 H 132.8°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#5E9921
RGBrgb(94, 153, 33)
HSLhsl(90, 65%, 36%)
HSVhsv(90, 78%, 60%)
CMYKcmyk(38.6%, 0%, 78.4%, 40%)
CIE-LABlab(57.34, -38.43, 52.70)
CIE-LCHlch(57.34, 65.22, 126.10°)
OKLaboklab(61.93% -0.1084 0.117)
OKLCHoklch(61.93% 0.159 132.8)
XYZxyz(16.2816, 25.2712, 5.4585)
Luminance0.2527 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9921 #5C2199
analogous
#999821 #5E9921 #229921
triadic
#5E9921 #215E99 #99215E
tetradic
#5E9921 #219998 #5C2199 #992122
square
#5E9921 #219998 #5C2199 #992122
split-complementary
#5E9921 #212299 #982199
monochromatic
#20340B #3F6716 #5E9921 #7DCB2C #9BDB59

Accessibility & contrast

On white

3.47
#5E9921 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#5E9921 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E9921
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E9921#FFFFFF#000000##000000
##5E99211.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D01
Deuteranopia (green-blind)
#98882E
Tritanopia (blue-blind)
#5F9383
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5e9921;
/* rgb */ color: rgb(94, 153, 33);
/* oklch */ color: oklch(61.9% 0.159 132.8);
Tailwind
colors: {
  custom: {
    50: '#91b766',
    500: '#5e9921',
    950: '#000000',
  },
}
SCSS
$custom: #5e9921;
$custom-light: #91b766;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9921",
  "rgb": {
    "r": 94,
    "g": 153,
    "b": 33
  },
  "hsl": {
    "h": 89.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61935,
    "c": 0.15948,
    "h": 132.8
  },
  "luminance": 0.25272
}

Semantic roles & 50–950 ramp

primary
#5E9921
secondary
#8A56BF
accent
#40E893
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5E9921

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

Preview Lab → · Contrast checker → · Palette generator →

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