#5E8316#5E8316

#5E8316 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.2% C 0.137 H 127.6°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5E8316
RGBrgb(94, 131, 22)
HSLhsl(80, 71%, 30%)
HSVhsv(80, 83%, 51%)
CMYKcmyk(28.2%, 0%, 83.2%, 48.6%)
CIE-LABlab(50.30, -28.97, 49.62)
CIE-LCHlch(50.30, 57.46, 120.28°)
OKLaboklab(56.18% -0.0836 0.1087)
OKLCHoklch(56.18% 0.137 127.6)
XYZxyz(12.8773, 18.6699, 3.6841)
Luminance0.1867 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8316 #3B1683
analogous
#837216 #5E8316 #278316
triadic
#5E8316 #165E83 #83165E
tetradic
#5E8316 #168372 #3B1683 #831627
square
#5E8316 #168372 #3B1683 #831627
split-complementary
#5E8316 #162783 #721683
monochromatic
#131A04 #384F0D #5E8316 #84B71F #A5DD36

Accessibility & contrast

On white

4.44
#5E8316 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#5E8316 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8316
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8316#FFFFFF#000000##000000
##5E83161.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#857722
Tritanopia (blue-blind)
#627D6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5e8316;
/* rgb */ color: rgb(94, 131, 22);
/* oklch */ color: oklch(56.2% 0.137 127.6);
Tailwind
colors: {
  custom: {
    50: '#90a75e',
    500: '#5e8316',
    950: '#000000',
  },
}
SCSS
$custom: #5e8316;
$custom-light: #90a75e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8316",
  "rgb": {
    "r": 94,
    "g": 131,
    "b": 22
  },
  "hsl": {
    "h": 80.367,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.56177,
    "c": 0.13713,
    "h": 127.6
  },
  "luminance": 0.1867
}

Semantic roles & 50–950 ramp

primary
#5E8316
secondary
#673DB7
accent
#3AEE77
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E8316

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

Preview Lab → · Contrast checker → · Palette generator →

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