#5E8417#5E8417

#5E8417 is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.4% C 0.138 H 127.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5E8417
RGBrgb(94, 132, 23)
HSLhsl(81, 70%, 30%)
HSVhsv(81, 83%, 52%)
CMYKcmyk(28.8%, 0%, 82.6%, 48.2%)
CIE-LABlab(50.62, -29.40, 49.62)
CIE-LCHlch(50.62, 57.67, 120.65°)
OKLaboklab(56.44% -0.0847 0.1089)
OKLCHoklch(56.44% 0.138 127.9)
XYZxyz(13.0220, 18.9438, 3.7809)
Luminance0.1894 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8417 #3D1784
analogous
#847317 #5E8417 #288417
triadic
#5E8417 #175E84 #84175E
tetradic
#5E8417 #178473 #3D1784 #841728
square
#5E8417 #178473 #3D1784 #841728
split-complementary
#5E8417 #172884 #731784
monochromatic
#141C05 #39500E #5E8417 #83B820 #A3DC39

Accessibility & contrast

On white

4.39
#5E8417 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#5E8417 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8417
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8417#FFFFFF#000000##000000
##5E84171.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#867823
Tritanopia (blue-blind)
#627E70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5e8417;
/* rgb */ color: rgb(94, 132, 23);
/* oklch */ color: oklch(56.4% 0.138 127.9);
Tailwind
colors: {
  custom: {
    50: '#90a85f',
    500: '#5e8417',
    950: '#000000',
  },
}
SCSS
$custom: #5e8417;
$custom-light: #90a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8417",
  "rgb": {
    "r": 94,
    "g": 132,
    "b": 23
  },
  "hsl": {
    "h": 80.917,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.56441,
    "c": 0.13793,
    "h": 127.9
  },
  "luminance": 0.18944
}

Semantic roles & 50–950 ramp

primary
#5E8417
secondary
#693FB8
accent
#3BED79
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E8417

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

Preview Lab → · Contrast checker → · Palette generator →

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