#5E9D21#5E9D21

#5E9D21 is a light, vivid yellow-green. Relative luminance 0.266; OKLCH L 63.0% C 0.164 H 133.4°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5E9D21
RGBrgb(94, 157, 33)
HSLhsl(90, 65%, 37%)
HSVhsv(90, 79%, 62%)
CMYKcmyk(40.1%, 0%, 79%, 38.4%)
CIE-LABlab(58.60, -40.15, 53.90)
CIE-LCHlch(58.60, 67.21, 126.68°)
OKLaboklab(62.97% -0.113 0.1195)
OKLCHoklch(62.97% 0.164 133.4)
XYZxyz(16.9473, 26.6026, 5.6804)
Luminance0.2660 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9D21 #60219D
analogous
#9C9D21 #5E9D21 #219D22
triadic
#5E9D21 #215E9D #9D215E
tetradic
#5E9D21 #219C9D #60219D #9D2221
square
#5E9D21 #219C9D #60219D #9D2221
split-complementary
#5E9D21 #22219D #9D219C
monochromatic
#21380C #406A16 #5E9D21 #7CD02C #9BDD5C

Accessibility & contrast

On white

3.32
#5E9D21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#5E9D21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E9D21
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E9D21#FFFFFF#000000##000000
##5E9D211.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#9B8B2F
Tritanopia (blue-blind)
#5E9786
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5e9d21;
/* rgb */ color: rgb(94, 157, 33);
/* oklch */ color: oklch(63.0% 0.164 133.4);
Tailwind
colors: {
  custom: {
    50: '#91ba67',
    500: '#5e9d21',
    950: '#000000',
  },
}
SCSS
$custom: #5e9d21;
$custom-light: #91ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9d21",
  "rgb": {
    "r": 94,
    "g": 157,
    "b": 33
  },
  "hsl": {
    "h": 90.484,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62971,
    "c": 0.16449,
    "h": 133.4
  },
  "luminance": 0.26603
}

Semantic roles & 50–950 ramp

primary
#5E9D21
secondary
#8E59C1
accent
#40E895
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5E9D21

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

Preview Lab → · Contrast checker → · Palette generator →

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