#5E8D20#5E8D20

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

Color values

HEX#5E8D20
RGBrgb(94, 141, 32)
HSLhsl(86, 63%, 34%)
HSVhsv(86, 77%, 55%)
CMYKcmyk(33.3%, 0%, 77.3%, 44.7%)
CIE-LABlab(53.53, -33.13, 49.40)
CIE-LCHlch(53.53, 59.48, 123.85°)
OKLaboklab(58.82% -0.0941 0.1099)
OKLCHoklch(58.82% 0.145 130.6)
XYZxyz(14.4016, 21.5332, 4.7638)
Luminance0.2153 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8D20 #4F208D
analogous
#8D8620 #5E8D20 #278D20
triadic
#5E8D20 #205E8D #8D205E
tetradic
#5E8D20 #208D86 #4F208D #8D2027
square
#5E8D20 #208D86 #4F208D #8D2027
split-complementary
#5E8D20 #20278D #86208D
monochromatic
#1B2909 #3D5B15 #5E8D20 #7FBF2B #9DD750

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E8D20#FFFFFF#000000##000000
##5E8D201.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)
#948206
Deuteranopia (green-blind)
#8D7F2B
Tritanopia (blue-blind)
#608778
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5e8d20;
/* rgb */ color: rgb(94, 141, 32);
/* oklch */ color: oklch(58.8% 0.145 130.6);
Tailwind
colors: {
  custom: {
    50: '#90ae64',
    500: '#5e8d20',
    950: '#000000',
  },
}
SCSS
$custom: #5e8d20;
$custom-light: #90ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8d20",
  "rgb": {
    "r": 94,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 85.872,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58823,
    "c": 0.14471,
    "h": 130.6
  },
  "luminance": 0.21534
}

Semantic roles & 50–950 ramp

primary
#5E8D20
secondary
#7D4EBA
accent
#42E689
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8D20

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

Preview Lab → · Contrast checker → · Palette generator →

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