#5E8517#5E8517

#5E8517 is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.7% C 0.139 H 128.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5E8517
RGBrgb(94, 133, 23)
HSLhsl(81, 71%, 31%)
HSVhsv(81, 83%, 52%)
CMYKcmyk(29.3%, 0%, 82.7%, 47.8%)
CIE-LABlab(50.94, -29.87, 49.90)
CIE-LCHlch(50.94, 58.16, 120.91°)
OKLaboklab(56.7% -0.086 0.1095)
OKLCHoklch(56.7% 0.139 128.1)
XYZxyz(13.1583, 19.2163, 3.8263)
Luminance0.1922 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8517 #3E1785
analogous
#857517 #5E8517 #278517
triadic
#5E8517 #175E85 #85175E
tetradic
#5E8517 #178575 #3E1785 #851727
square
#5E8517 #178575 #3E1785 #851727
split-complementary
#5E8517 #172785 #751785
monochromatic
#141D05 #39510E #5E8517 #83B920 #A3DD3A

Accessibility & contrast

On white

4.34
#5E8517 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#5E8517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8517
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8517#FFFFFF#000000##000000
##5E85171.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#877823
Tritanopia (blue-blind)
#627F71
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5e8517;
/* rgb */ color: rgb(94, 133, 23);
/* oklch */ color: oklch(56.7% 0.139 128.1);
Tailwind
colors: {
  custom: {
    50: '#90a85f',
    500: '#5e8517',
    950: '#000000',
  },
}
SCSS
$custom: #5e8517;
$custom-light: #90a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8517",
  "rgb": {
    "r": 94,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 81.273,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.56699,
    "c": 0.1392,
    "h": 128.1
  },
  "luminance": 0.19217
}

Semantic roles & 50–950 ramp

primary
#5E8517
secondary
#6A3FB9
accent
#3BED7A
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E8517

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

Preview Lab → · Contrast checker → · Palette generator →

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