#5D8016#5D8016

#5D8016 is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.3% C 0.134 H 127.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5D8016
RGBrgb(93, 128, 22)
HSLhsl(80, 71%, 29%)
HSVhsv(80, 83%, 50%)
CMYKcmyk(27.3%, 0%, 82.8%, 49.8%)
CIE-LABlab(49.28, -27.94, 48.68)
CIE-LCHlch(49.28, 56.13, 119.86°)
OKLaboklab(55.33% -0.0808 0.1067)
OKLCHoklch(55.33% 0.134 127.1)
XYZxyz(12.3782, 17.8232, 3.5470)
Luminance0.1782 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8016 #391680
analogous
#806E16 #5D8016 #288016
triadic
#5D8016 #165D80 #80165D
tetradic
#5D8016 #16806E #391680 #801628
square
#5D8016 #16806E #391680 #801628
split-complementary
#5D8016 #162880 #6E1680
monochromatic
#131A04 #374C0D #5D8016 #83B41F #A5DC34

Accessibility & contrast

On white

4.60
#5D8016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#5D8016 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5D8016
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8016#FFFFFF#000000##FFFFFF
##5D80161.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#827422
Tritanopia (blue-blind)
#617A6D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5d8016;
/* rgb */ color: rgb(93, 128, 22);
/* oklch */ color: oklch(55.3% 0.134 127.1);
Tailwind
colors: {
  custom: {
    50: '#8fa55e',
    500: '#5d8016',
    950: '#000000',
  },
}
SCSS
$custom: #5d8016;
$custom-light: #8fa55e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8016",
  "rgb": {
    "r": 93,
    "g": 128,
    "b": 22
  },
  "hsl": {
    "h": 79.811,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.55333,
    "c": 0.13385,
    "h": 127.1
  },
  "luminance": 0.17823
}

Semantic roles & 50–950 ramp

primary
#5D8016
secondary
#653DB5
accent
#3AED75
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D8016

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

Preview Lab → · Contrast checker → · Palette generator →

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