#5C8716#5C8716

#5C8716 is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 57.1% C 0.143 H 129.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5C8716
RGBrgb(92, 135, 22)
HSLhsl(83, 72%, 31%)
HSVhsv(83, 84%, 53%)
CMYKcmyk(31.9%, 0%, 83.7%, 47.1%)
CIE-LABlab(51.45, -31.66, 50.61)
CIE-LCHlch(51.45, 59.70, 122.03°)
OKLaboklab(57.08% -0.0908 0.1109)
OKLCHoklch(57.08% 0.143 129.3)
XYZxyz(13.2224, 19.6608, 3.8572)
Luminance0.1966 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8716 #411687
analogous
#877916 #5C8716 #238716
triadic
#5C8716 #165C87 #87165C
tetradic
#5C8716 #168779 #411687 #871623
square
#5C8716 #168779 #411687 #871623
split-complementary
#5C8716 #162387 #791687
monochromatic
#141E05 #38520D #5C8716 #80BC1F #A0DF39

Accessibility & contrast

On white

4.26
#5C8716 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#5C8716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8716
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8716#FFFFFF#000000##000000
##5C87161.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#887A23
Tritanopia (blue-blind)
#5F8173
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5c8716;
/* rgb */ color: rgb(92, 135, 22);
/* oklch */ color: oklch(57.1% 0.143 129.3);
Tailwind
colors: {
  custom: {
    50: '#8eaa5f',
    500: '#5c8716',
    950: '#000000',
  },
}
SCSS
$custom: #5c8716;
$custom-light: #8eaa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8716",
  "rgb": {
    "r": 92,
    "g": 135,
    "b": 22
  },
  "hsl": {
    "h": 82.832,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57083,
    "c": 0.14327,
    "h": 129.3
  },
  "luminance": 0.19661
}

Semantic roles & 50–950 ramp

primary
#5C8716
secondary
#6D3EBB
accent
#39EF7E
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D1005
muted
#7E7F79

Preview Lab

Preview with #5C8716

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

Preview Lab → · Contrast checker → · Palette generator →

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