#5D8F17#5D8F17

#5D8F17 is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.2% C 0.152 H 130.8°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5D8F17
RGBrgb(93, 143, 23)
HSLhsl(85, 72%, 33%)
HSVhsv(85, 84%, 56%)
CMYKcmyk(35%, 0%, 83.9%, 43.9%)
CIE-LABlab(54.06, -34.88, 52.69)
CIE-LCHlch(54.06, 63.19, 123.51°)
OKLaboklab(59.23% -0.0994 0.1154)
OKLCHoklch(59.23% 0.152 130.8)
XYZxyz(14.4912, 22.0334, 4.2998)
Luminance0.2203 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8F17 #49178F
analogous
#8F8517 #5D8F17 #218F17
triadic
#5D8F17 #175D8F #8F175D
tetradic
#5D8F17 #178F85 #49178F #8F1721
square
#5D8F17 #178F85 #49178F #8F1721
split-complementary
#5D8F17 #17218F #85178F
monochromatic
#182606 #3B5A0F #5D8F17 #7FC41F #9EE040

Accessibility & contrast

On white

3.88
#5D8F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#5D8F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8F17
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8F17#FFFFFF#000000##000000
##5D8F171.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#8F8025
Tritanopia (blue-blind)
#5F897A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5d8f17;
/* rgb */ color: rgb(93, 143, 23);
/* oklch */ color: oklch(59.2% 0.152 130.8);
Tailwind
colors: {
  custom: {
    50: '#90b061',
    500: '#5d8f17',
    950: '#000000',
  },
}
SCSS
$custom: #5d8f17;
$custom-light: #90b061;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8f17",
  "rgb": {
    "r": 93,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 85,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.59229,
    "c": 0.15232,
    "h": 130.8
  },
  "luminance": 0.22034
}

Semantic roles & 50–950 ramp

primary
#5D8F17
secondary
#7641C1
accent
#39EF85
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5D8F17

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

Preview Lab → · Contrast checker → · Palette generator →

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