#5E8D21#5E8D21

#5E8D21 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.8% C 0.144 H 130.7°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5E8D21
RGBrgb(94, 141, 33)
HSLhsl(86, 62%, 34%)
HSVhsv(86, 77%, 55%)
CMYKcmyk(33.3%, 0%, 76.6%, 44.7%)
CIE-LABlab(53.53, -33.07, 49.06)
CIE-LCHlch(53.53, 59.16, 123.99°)
OKLaboklab(58.83% -0.0939 0.1093)
OKLCHoklch(58.83% 0.144 130.7)
XYZxyz(14.4154, 21.5387, 4.8364)
Luminance0.2154 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8D21 #50218D
analogous
#8D8621 #5E8D21 #288D21
triadic
#5E8D21 #215E8D #8D215E
tetradic
#5E8D21 #218D86 #50218D #8D2128
square
#5E8D21 #218D86 #50218D #8D2128
split-complementary
#5E8D21 #21288D #86218D
monochromatic
#1C2A0A #3D5B15 #5E8D21 #7FBF2D #9DD652

Accessibility & contrast

On white

3.96
#5E8D21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#5E8D21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8D21
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8D21#FFFFFF#000000##000000
##5E8D211.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948209
Deuteranopia (green-blind)
#8D7F2C
Tritanopia (blue-blind)
#608778
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5e8d21;
/* rgb */ color: rgb(94, 141, 33);
/* oklch */ color: oklch(58.8% 0.144 130.7);
Tailwind
colors: {
  custom: {
    50: '#90ae65',
    500: '#5e8d21',
    950: '#000000',
  },
}
SCSS
$custom: #5e8d21;
$custom-light: #90ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8d21",
  "rgb": {
    "r": 94,
    "g": 141,
    "b": 33
  },
  "hsl": {
    "h": 86.111,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58829,
    "c": 0.14413,
    "h": 130.7
  },
  "luminance": 0.21539
}

Semantic roles & 50–950 ramp

primary
#5E8D21
secondary
#7E50BA
accent
#43E589
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8D21

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

Preview Lab → · Contrast checker → · Palette generator →

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