#5E8415#5E8415

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

Color values

HEX#5E8415
RGBrgb(94, 132, 21)
HSLhsl(81, 73%, 30%)
HSVhsv(81, 84%, 52%)
CMYKcmyk(28.8%, 0%, 84.1%, 48.2%)
CIE-LABlab(50.61, -29.49, 50.19)
CIE-LCHlch(50.61, 58.21, 120.44°)
OKLaboklab(56.43% -0.0851 0.1097)
OKLCHoklch(56.43% 0.139 127.8)
XYZxyz(13.0027, 18.9360, 3.6793)
Luminance0.1894 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8415 #3B1584
analogous
#847315 #5E8415 #268415
triadic
#5E8415 #155E84 #84155E
tetradic
#5E8415 #158473 #3B1584 #841526
square
#5E8415 #158473 #3B1584 #841526
split-complementary
#5E8415 #152684 #731584
monochromatic
#131A04 #384F0D #5E8415 #84B91D #A5DF35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E8415#FFFFFF#000000##000000
##5E84151.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)
#867822
Tritanopia (blue-blind)
#627E70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5e8415;
/* rgb */ color: rgb(94, 132, 21);
/* oklch */ color: oklch(56.4% 0.139 127.8);
Tailwind
colors: {
  custom: {
    50: '#90a85e',
    500: '#5e8415',
    950: '#000000',
  },
}
SCSS
$custom: #5e8415;
$custom-light: #90a85e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8415",
  "rgb": {
    "r": 94,
    "g": 132,
    "b": 21
  },
  "hsl": {
    "h": 80.541,
    "s": 72.549,
    "l": 30
  },
  "oklch": {
    "l": 0.56431,
    "c": 0.13885,
    "h": 127.8
  },
  "luminance": 0.18936
}

Semantic roles & 50–950 ramp

primary
#5E8415
secondary
#673CB9
accent
#39EF77
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E8415

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

Preview Lab → · Contrast checker → · Palette generator →

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