#5D8517#5D8517

#5D8517 is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.6% C 0.140 H 128.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5D8517
RGBrgb(93, 133, 23)
HSLhsl(82, 71%, 31%)
HSVhsv(82, 83%, 52%)
CMYKcmyk(30.1%, 0%, 82.7%, 47.8%)
CIE-LABlab(50.88, -30.28, 49.83)
CIE-LCHlch(50.88, 58.31, 121.29°)
OKLaboklab(56.63% -0.087 0.1093)
OKLCHoklch(56.63% 0.14 128.5)
XYZxyz(13.0564, 19.1637, 3.8215)
Luminance0.1916 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8517 #3F1785
analogous
#857617 #5D8517 #268517
triadic
#5D8517 #175D85 #85175D
tetradic
#5D8517 #178576 #3F1785 #851726
square
#5D8517 #178576 #3F1785 #851726
split-complementary
#5D8517 #172685 #761785
monochromatic
#141D05 #39510E #5D8517 #81B920 #A1DD3A

Accessibility & contrast

On white

4.35
#5D8517 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#5D8517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8517
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8517#FFFFFF#000000##000000
##5D85171.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d8517;
/* rgb */ color: rgb(93, 133, 23);
/* oklch */ color: oklch(56.6% 0.140 128.5);
Tailwind
colors: {
  custom: {
    50: '#8fa85f',
    500: '#5d8517',
    950: '#000000',
  },
}
SCSS
$custom: #5d8517;
$custom-light: #8fa85f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8517",
  "rgb": {
    "r": 93,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 81.818,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.56634,
    "c": 0.13973,
    "h": 128.5
  },
  "luminance": 0.19164
}

Semantic roles & 50–950 ramp

primary
#5D8517
secondary
#6B3FB9
accent
#3BED7C
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D8517

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

Preview Lab → · Contrast checker → · Palette generator →

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