#5C8517#5C8517

#5C8517 is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.6% C 0.140 H 128.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#5C8517
RGBrgb(92, 133, 23)
HSLhsl(82, 71%, 31%)
HSVhsv(82, 83%, 52%)
CMYKcmyk(30.8%, 0%, 82.7%, 47.8%)
CIE-LABlab(50.82, -30.68, 49.75)
CIE-LCHlch(50.82, 58.45, 121.67°)
OKLaboklab(56.57% -0.088 0.1092)
OKLCHoklch(56.57% 0.14 128.9)
XYZxyz(12.9558, 19.1119, 3.8168)
Luminance0.1911 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8517 #401785
analogous
#857717 #5C8517 #258517
triadic
#5C8517 #175C85 #85175C
tetradic
#5C8517 #178577 #401785 #851725
square
#5C8517 #178577 #401785 #851725
split-complementary
#5C8517 #172585 #771785
monochromatic
#141D05 #38510E #5C8517 #80B920 #A0DD3A

Accessibility & contrast

On white

4.35
#5C8517 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#5C8517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8517
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8517#FFFFFF#000000##000000
##5C85171.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#867823
Tritanopia (blue-blind)
#5F7F71
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5c8517;
/* rgb */ color: rgb(92, 133, 23);
/* oklch */ color: oklch(56.6% 0.140 128.9);
Tailwind
colors: {
  custom: {
    50: '#8ea85f',
    500: '#5c8517',
    950: '#000000',
  },
}
SCSS
$custom: #5c8517;
$custom-light: #8ea85f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8517",
  "rgb": {
    "r": 92,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 82.364,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.56568,
    "c": 0.14027,
    "h": 128.9
  },
  "luminance": 0.19112
}

Semantic roles & 50–950 ramp

primary
#5C8517
secondary
#6C3FB9
accent
#3BED7D
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5C8517

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

Preview Lab → · Contrast checker → · Palette generator →

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