#5E8E20#5E8E20

#5E8E20 is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.1% C 0.146 H 130.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5E8E20
RGBrgb(94, 142, 32)
HSLhsl(86, 63%, 34%)
HSVhsv(86, 77%, 56%)
CMYKcmyk(33.8%, 0%, 77.5%, 44.3%)
CIE-LABlab(53.85, -33.59, 49.71)
CIE-LCHlch(53.85, 59.99, 124.05°)
OKLaboklab(59.08% -0.0954 0.1105)
OKLCHoklch(59.08% 0.146 130.8)
XYZxyz(14.5497, 21.8295, 4.8131)
Luminance0.2183 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8E20 #50208E
analogous
#8E8720 #5E8E20 #278E20
triadic
#5E8E20 #205E8E #8E205E
tetradic
#5E8E20 #208E87 #50208E #8E2027
square
#5E8E20 #208E87 #50208E #8E2027
split-complementary
#5E8E20 #20278E #87208E
monochromatic
#1C2A09 #3D5C15 #5E8E20 #7FC02B #9DD851

Accessibility & contrast

On white

3.91
#5E8E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#5E8E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8E20
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8E20#FFFFFF#000000##000000
##5E8E201.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958306
Deuteranopia (green-blind)
#8E7F2B
Tritanopia (blue-blind)
#608879
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5e8e20;
/* rgb */ color: rgb(94, 142, 32);
/* oklch */ color: oklch(59.1% 0.146 130.8);
Tailwind
colors: {
  custom: {
    50: '#90af64',
    500: '#5e8e20',
    950: '#000000',
  },
}
SCSS
$custom: #5e8e20;
$custom-light: #90af64;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8e20",
  "rgb": {
    "r": 94,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 86.182,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59081,
    "c": 0.14601,
    "h": 130.8
  },
  "luminance": 0.2183
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E8E20

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

Preview Lab → · Contrast checker → · Palette generator →

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