#5C8117#5C8117

#5C8117 is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.5% C 0.135 H 127.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5C8117
RGBrgb(92, 129, 23)
HSLhsl(81, 70%, 30%)
HSVhsv(81, 82%, 51%)
CMYKcmyk(28.7%, 0%, 82.2%, 49.4%)
CIE-LABlab(49.54, -28.79, 48.59)
CIE-LCHlch(49.54, 56.48, 120.65°)
OKLaboklab(55.53% -0.0829 0.1067)
OKLCHoklch(55.53% 0.135 127.8)
XYZxyz(12.4186, 18.0374, 3.6377)
Luminance0.1804 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8117 #3C1781
analogous
#817117 #5C8117 #278117
triadic
#5C8117 #175C81 #81175C
tetradic
#5C8117 #178171 #3C1781 #811727
square
#5C8117 #178171 #3C1781 #811727
split-complementary
#5C8117 #172781 #711781
monochromatic
#131A05 #374D0E #5C8117 #81B520 #A2DB37

Accessibility & contrast

On white

4.56
#5C8117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#5C8117 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8117
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8117#FFFFFF#000000##000000
##5C81171.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#837523
Tritanopia (blue-blind)
#607B6E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5c8117;
/* rgb */ color: rgb(92, 129, 23);
/* oklch */ color: oklch(55.5% 0.135 127.8);
Tailwind
colors: {
  custom: {
    50: '#8ea55f',
    500: '#5c8117',
    950: '#000000',
  },
}
SCSS
$custom: #5c8117;
$custom-light: #8ea55f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8117",
  "rgb": {
    "r": 92,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 80.943,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5553,
    "c": 0.13516,
    "h": 127.8
  },
  "luminance": 0.18038
}

Semantic roles & 50–950 ramp

primary
#5C8117
secondary
#683EB5
accent
#3BED79
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5C8117

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

Preview Lab → · Contrast checker → · Palette generator →

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