#5C8F17#5C8F17

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

Color values

HEX#5C8F17
RGBrgb(92, 143, 23)
HSLhsl(86, 72%, 33%)
HSVhsv(86, 84%, 56%)
CMYKcmyk(35.7%, 0%, 83.9%, 43.9%)
CIE-LABlab(54.01, -35.26, 52.62)
CIE-LCHlch(54.01, 63.34, 123.83°)
OKLaboklab(59.17% -0.1004 0.1153)
OKLCHoklch(59.17% 0.153 131.1)
XYZxyz(14.3906, 21.9815, 4.2951)
Luminance0.2198 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8F17 #4A178F
analogous
#8F8617 #5C8F17 #208F17
triadic
#5C8F17 #175C8F #8F175C
tetradic
#5C8F17 #178F86 #4A178F #8F1720
square
#5C8F17 #178F86 #4A178F #8F1720
split-complementary
#5C8F17 #17208F #86178F
monochromatic
#182606 #3A5A0F #5C8F17 #7EC41F #9CE040

Accessibility & contrast

On white

3.89
#5C8F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#5C8F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8F17
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8F17#FFFFFF#000000##000000
##5C8F171.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c8f17;
/* rgb */ color: rgb(92, 143, 23);
/* oklch */ color: oklch(59.2% 0.153 131.1);
Tailwind
colors: {
  custom: {
    50: '#8fb061',
    500: '#5c8f17',
    950: '#000000',
  },
}
SCSS
$custom: #5c8f17;
$custom-light: #8fb061;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8f17",
  "rgb": {
    "r": 92,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 85.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.59169,
    "c": 0.15286,
    "h": 131.1
  },
  "luminance": 0.21982
}

Semantic roles & 50–950 ramp

primary
#5C8F17
secondary
#7741C1
accent
#39EF86
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5C8F17

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

Preview Lab → · Contrast checker → · Palette generator →

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