#5D8E17#5D8E17

#5D8E17 is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 59.0% C 0.151 H 130.6°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5D8E17
RGBrgb(93, 142, 23)
HSLhsl(85, 72%, 32%)
HSVhsv(85, 84%, 56%)
CMYKcmyk(34.5%, 0%, 83.8%, 44.3%)
CIE-LABlab(53.74, -34.43, 52.41)
CIE-LCHlch(53.74, 62.70, 123.31°)
OKLaboklab(58.97% -0.0982 0.1148)
OKLCHoklch(58.97% 0.151 130.6)
XYZxyz(14.3418, 21.7345, 4.2500)
Luminance0.2173 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8E17 #48178E
analogous
#8E8417 #5D8E17 #218E17
triadic
#5D8E17 #175D8E #8E175D
tetradic
#5D8E17 #178E84 #48178E #8E1721
square
#5D8E17 #178E84 #48178E #8E1721
split-complementary
#5D8E17 #17218E #84178E
monochromatic
#182506 #3B590E #5D8E17 #7FC320 #9EE03F

Accessibility & contrast

On white

3.93
#5D8E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#5D8E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8E17
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8E17#FFFFFF#000000##000000
##5D8E171.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8E7F25
Tritanopia (blue-blind)
#5F8879
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5d8e17;
/* rgb */ color: rgb(93, 142, 23);
/* oklch */ color: oklch(59.0% 0.151 130.6);
Tailwind
colors: {
  custom: {
    50: '#90af61',
    500: '#5d8e17',
    950: '#000000',
  },
}
SCSS
$custom: #5d8e17;
$custom-light: #90af61;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8e17",
  "rgb": {
    "r": 93,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 84.706,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58969,
    "c": 0.15108,
    "h": 130.6
  },
  "luminance": 0.21735
}

Semantic roles & 50–950 ramp

primary
#5D8E17
secondary
#7540C0
accent
#39EF84
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5D8E17

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

Preview Lab → · Contrast checker → · Palette generator →

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