#5E8317#5E8317

#5E8317 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#5E8317
RGBrgb(94, 131, 23)
HSLhsl(81, 70%, 30%)
HSVhsv(81, 82%, 51%)
CMYKcmyk(28.2%, 0%, 82.4%, 48.6%)
CIE-LABlab(50.30, -28.92, 49.33)
CIE-LCHlch(50.30, 57.18, 120.39°)
OKLaboklab(56.18% -0.0834 0.1083)
OKLCHoklch(56.18% 0.137 127.6)
XYZxyz(12.8871, 18.6739, 3.7359)
Luminance0.1867 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8317 #3C1783
analogous
#837217 #5E8317 #288317
triadic
#5E8317 #175E83 #83175E
tetradic
#5E8317 #178372 #3C1783 #831728
square
#5E8317 #178372 #3C1783 #831728
split-complementary
#5E8317 #172883 #721783
monochromatic
#131B05 #394F0E #5E8317 #83B720 #A4DC38

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E8317#FFFFFF#000000##000000
##5E83171.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)
#857723
Tritanopia (blue-blind)
#627D6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5e8317;
/* rgb */ color: rgb(94, 131, 23);
/* oklch */ color: oklch(56.2% 0.137 127.6);
Tailwind
colors: {
  custom: {
    50: '#90a75f',
    500: '#5e8317',
    950: '#000000',
  },
}
SCSS
$custom: #5e8317;
$custom-light: #90a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8317",
  "rgb": {
    "r": 94,
    "g": 131,
    "b": 23
  },
  "hsl": {
    "h": 80.556,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.56182,
    "c": 0.13666,
    "h": 127.6
  },
  "luminance": 0.18674
}

Semantic roles & 50–950 ramp

primary
#5E8317
secondary
#683FB7
accent
#3BED78
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E8317

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

Preview Lab → · Contrast checker → · Palette generator →

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