#5E8418#5E8418

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

Color values

HEX#5E8418
RGBrgb(94, 132, 24)
HSLhsl(81, 69%, 31%)
HSVhsv(81, 82%, 52%)
CMYKcmyk(28.8%, 0%, 81.8%, 48.2%)
CIE-LABlab(50.63, -29.35, 49.32)
CIE-LCHlch(50.63, 57.39, 120.76°)
OKLaboklab(56.45% -0.0845 0.1084)
OKLCHoklch(56.45% 0.137 127.9)
XYZxyz(13.0322, 18.9478, 3.8347)
Luminance0.1895 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8418 #3E1884
analogous
#847418 #5E8418 #288418
triadic
#5E8418 #185E84 #84185E
tetradic
#5E8418 #188474 #3E1884 #841828
square
#5E8418 #188474 #3E1884 #841828
split-complementary
#5E8418 #182884 #741884
monochromatic
#141C05 #39500F #5E8418 #83B821 #A3DB3B

Accessibility & contrast

On white

4.38
#5E8418 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E8418#FFFFFF#000000##000000
##5E84181.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e8418;
/* rgb */ color: rgb(94, 132, 24);
/* oklch */ color: oklch(56.4% 0.137 127.9);
Tailwind
colors: {
  custom: {
    50: '#90a85f',
    500: '#5e8418',
    950: '#000000',
  },
}
SCSS
$custom: #5e8418;
$custom-light: #90a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8418",
  "rgb": {
    "r": 94,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 81.111,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.56446,
    "c": 0.13744,
    "h": 127.9
  },
  "luminance": 0.18948
}

Semantic roles & 50–950 ramp

primary
#5E8418
secondary
#6A40B8
accent
#3CEC7A
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E8418

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

Preview Lab → · Contrast checker → · Palette generator →

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