#5E8720#5E8720

#5E8720 is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.3% C 0.137 H 129.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5E8720
RGBrgb(94, 135, 32)
HSLhsl(84, 62%, 33%)
HSVhsv(84, 76%, 53%)
CMYKcmyk(30.4%, 0%, 76.3%, 47.1%)
CIE-LABlab(51.62, -30.34, 47.56)
CIE-LCHlch(51.62, 56.42, 122.53°)
OKLaboklab(57.27% -0.0866 0.106)
OKLCHoklch(57.27% 0.137 129.2)
XYZxyz(13.5407, 19.8115, 4.4768)
Luminance0.1981 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8720 #492087
analogous
#877C20 #5E8720 #2B8720
triadic
#5E8720 #205E87 #87205E
tetradic
#5E8720 #20877C #492087 #87202B
square
#5E8720 #20877C #492087 #87202B
split-complementary
#5E8720 #202B87 #7C2087
monochromatic
#192409 #3C5614 #5E8720 #80B82C #9FD54D

Accessibility & contrast

On white

4.23
#5E8720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5E8720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8720
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8720#FFFFFF#000000##000000
##5E87201.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0A
Deuteranopia (green-blind)
#887A2A
Tritanopia (blue-blind)
#618173
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5e8720;
/* rgb */ color: rgb(94, 135, 32);
/* oklch */ color: oklch(57.3% 0.137 129.2);
Tailwind
colors: {
  custom: {
    50: '#8faa63',
    500: '#5e8720',
    950: '#000000',
  },
}
SCSS
$custom: #5e8720;
$custom-light: #8faa63;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8720",
  "rgb": {
    "r": 94,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 83.883,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57271,
    "c": 0.1369,
    "h": 129.2
  },
  "luminance": 0.19812
}

Semantic roles & 50–950 ramp

primary
#5E8720
secondary
#764BB8
accent
#43E583
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8720

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

Preview Lab → · Contrast checker → · Palette generator →

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