#5D8716#5D8716

#5D8716 is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 57.1% C 0.143 H 129.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5D8716
RGBrgb(93, 135, 22)
HSLhsl(82, 72%, 31%)
HSVhsv(82, 84%, 53%)
CMYKcmyk(31.1%, 0%, 83.7%, 47.1%)
CIE-LABlab(51.51, -31.26, 50.69)
CIE-LCHlch(51.51, 59.55, 121.67°)
OKLaboklab(57.15% -0.0897 0.111)
OKLCHoklch(57.15% 0.143 129)
XYZxyz(13.3230, 19.7126, 3.8619)
Luminance0.1971 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8716 #401687
analogous
#877816 #5D8716 #248716
triadic
#5D8716 #165D87 #87165D
tetradic
#5D8716 #168778 #401687 #871624
square
#5D8716 #168778 #401687 #871624
split-complementary
#5D8716 #162487 #781687
monochromatic
#141E05 #39520D #5D8716 #81BC1F #A1DF39

Accessibility & contrast

On white

4.25
#5D8716 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#5D8716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8716
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8716#FFFFFF#000000##000000
##5D87161.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#887A23
Tritanopia (blue-blind)
#608173
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5d8716;
/* rgb */ color: rgb(93, 135, 22);
/* oklch */ color: oklch(57.1% 0.143 129.0);
Tailwind
colors: {
  custom: {
    50: '#8faa5f',
    500: '#5d8716',
    950: '#000000',
  },
}
SCSS
$custom: #5d8716;
$custom-light: #8faa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8716",
  "rgb": {
    "r": 93,
    "g": 135,
    "b": 22
  },
  "hsl": {
    "h": 82.301,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57147,
    "c": 0.14273,
    "h": 129
  },
  "luminance": 0.19713
}

Semantic roles & 50–950 ramp

primary
#5D8716
secondary
#6C3EBB
accent
#39EF7D
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D1005
muted
#7E7F79

Preview Lab

Preview with #5D8716

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

Preview Lab → · Contrast checker → · Palette generator →

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