#5D8D16#5D8D16

#5D8D16 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.7% C 0.150 H 130.3°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5D8D16
RGBrgb(93, 141, 22)
HSLhsl(84, 73%, 32%)
HSVhsv(84, 84%, 55%)
CMYKcmyk(34%, 0%, 84.4%, 44.7%)
CIE-LABlab(53.42, -34.02, 52.39)
CIE-LCHlch(53.42, 62.47, 123.00°)
OKLaboklab(58.71% -0.0972 0.1146)
OKLCHoklch(58.71% 0.15 130.3)
XYZxyz(14.1838, 21.4343, 4.1488)
Luminance0.2144 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8D16 #46168D
analogous
#8D8216 #5D8D16 #218D16
triadic
#5D8D16 #165D8D #8D165D
tetradic
#5D8D16 #168D82 #46168D #8D1621
square
#5D8D16 #168D82 #46168D #8D1621
split-complementary
#5D8D16 #16218D #82168D
monochromatic
#172305 #3A580E #5D8D16 #80C21E #9FE13D

Accessibility & contrast

On white

3.97
#5D8D16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#5D8D16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8D16
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8D16#FFFFFF#000000##000000
##5D8D161.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8D7E24
Tritanopia (blue-blind)
#5F8778
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5d8d16;
/* rgb */ color: rgb(93, 141, 22);
/* oklch */ color: oklch(58.7% 0.150 130.3);
Tailwind
colors: {
  custom: {
    50: '#90ae60',
    500: '#5d8d16',
    950: '#000000',
  },
}
SCSS
$custom: #5d8d16;
$custom-light: #90ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8d16",
  "rgb": {
    "r": 93,
    "g": 141,
    "b": 22
  },
  "hsl": {
    "h": 84.202,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58705,
    "c": 0.15026,
    "h": 130.3
  },
  "luminance": 0.21435
}

Semantic roles & 50–950 ramp

primary
#5D8D16
secondary
#733EC1
accent
#38F082
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5D8D16

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

Preview Lab → · Contrast checker → · Palette generator →

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