#5E8A20#5E8A20

#5E8A20 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 58.0% C 0.141 H 129.9°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5E8A20
RGBrgb(94, 138, 32)
HSLhsl(85, 62%, 33%)
HSVhsv(85, 77%, 54%)
CMYKcmyk(31.9%, 0%, 76.8%, 45.9%)
CIE-LABlab(52.58, -31.75, 48.49)
CIE-LCHlch(52.58, 57.95, 123.22°)
OKLaboklab(58.05% -0.0904 0.108)
OKLCHoklch(58.05% 0.141 129.9)
XYZxyz(13.9652, 20.6605, 4.6183)
Luminance0.2066 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8A20 #4C208A
analogous
#8A8120 #5E8A20 #298A20
triadic
#5E8A20 #205E8A #8A205E
tetradic
#5E8A20 #208A81 #4C208A #8A2029
square
#5E8A20 #208A81 #4C208A #8A2029
split-complementary
#5E8A20 #20298A #81208A
monochromatic
#1A2709 #3C5814 #5E8A20 #80BC2C #9ED64E

Accessibility & contrast

On white

4.09
#5E8A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#5E8A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8A20
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8A20#FFFFFF#000000##000000
##5E8A201.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918008
Deuteranopia (green-blind)
#8B7C2A
Tritanopia (blue-blind)
#618476
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5e8a20;
/* rgb */ color: rgb(94, 138, 32);
/* oklch */ color: oklch(58.0% 0.141 129.9);
Tailwind
colors: {
  custom: {
    50: '#90ac64',
    500: '#5e8a20',
    950: '#000000',
  },
}
SCSS
$custom: #5e8a20;
$custom-light: #90ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8a20",
  "rgb": {
    "r": 94,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 84.906,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58047,
    "c": 0.14082,
    "h": 129.9
  },
  "luminance": 0.20661
}

Semantic roles & 50–950 ramp

primary
#5E8A20
secondary
#7A4DB9
accent
#42E586
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8A20

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

Preview Lab → · Contrast checker → · Palette generator →

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