#5E8716#5E8716

#5E8716 is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.2% C 0.142 H 128.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5E8716
RGBrgb(94, 135, 22)
HSLhsl(82, 72%, 31%)
HSVhsv(82, 84%, 53%)
CMYKcmyk(30.4%, 0%, 83.7%, 47.1%)
CIE-LABlab(51.57, -30.86, 50.76)
CIE-LCHlch(51.57, 59.41, 121.30°)
OKLaboklab(57.21% -0.0887 0.1111)
OKLCHoklch(57.21% 0.142 128.6)
XYZxyz(13.4249, 19.7652, 3.8667)
Luminance0.1977 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8716 #3F1687
analogous
#877716 #5E8716 #258716
triadic
#5E8716 #165E87 #87165E
tetradic
#5E8716 #168777 #3F1687 #871625
square
#5E8716 #168777 #3F1687 #871625
split-complementary
#5E8716 #162587 #771687
monochromatic
#151E05 #39520D #5E8716 #83BC1F #A2DF39

Accessibility & contrast

On white

4.24
#5E8716 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#5E8716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8716
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8716#FFFFFF#000000##000000
##5E87161.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e8716;
/* rgb */ color: rgb(94, 135, 22);
/* oklch */ color: oklch(57.2% 0.142 128.6);
Tailwind
colors: {
  custom: {
    50: '#90aa5f',
    500: '#5e8716',
    950: '#000000',
  },
}
SCSS
$custom: #5e8716;
$custom-light: #90aa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8716",
  "rgb": {
    "r": 94,
    "g": 135,
    "b": 22
  },
  "hsl": {
    "h": 81.77,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57212,
    "c": 0.14219,
    "h": 128.6
  },
  "luminance": 0.19766
}

Semantic roles & 50–950 ramp

primary
#5E8716
secondary
#6B3EBB
accent
#39EF7B
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D1005
muted
#7E7F79

Preview Lab

Preview with #5E8716

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

Preview Lab → · Contrast checker → · Palette generator →

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