#5C8416#5C8416

#5C8416 is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.3% C 0.139 H 128.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5C8416
RGBrgb(92, 132, 22)
HSLhsl(82, 71%, 30%)
HSVhsv(82, 83%, 52%)
CMYKcmyk(30.3%, 0%, 83.3%, 48.2%)
CIE-LABlab(50.49, -30.26, 49.75)
CIE-LCHlch(50.49, 58.23, 121.31°)
OKLaboklab(56.3% -0.087 0.109)
OKLCHoklch(56.3% 0.139 128.6)
XYZxyz(12.8097, 18.8354, 3.7196)
Luminance0.1884 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8416 #3E1684
analogous
#847516 #5C8416 #258416
triadic
#5C8416 #165C84 #84165C
tetradic
#5C8416 #168475 #3E1684 #841625
square
#5C8416 #168475 #3E1684 #841625
split-complementary
#5C8416 #162584 #751684
monochromatic
#131B05 #37500D #5C8416 #81B81F #A1DE37

Accessibility & contrast

On white

4.41
#5C8416 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#5C8416 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8416
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8416#FFFFFF#000000##000000
##5C84161.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#857723
Tritanopia (blue-blind)
#5F7E70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5c8416;
/* rgb */ color: rgb(92, 132, 22);
/* oklch */ color: oklch(56.3% 0.139 128.6);
Tailwind
colors: {
  custom: {
    50: '#8ea85f',
    500: '#5c8416',
    950: '#000000',
  },
}
SCSS
$custom: #5c8416;
$custom-light: #8ea85f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8416",
  "rgb": {
    "r": 92,
    "g": 132,
    "b": 22
  },
  "hsl": {
    "h": 81.818,
    "s": 71.429,
    "l": 30.196
  },
  "oklch": {
    "l": 0.56303,
    "c": 0.13947,
    "h": 128.6
  },
  "luminance": 0.18836
}

Semantic roles & 50–950 ramp

primary
#5C8416
secondary
#6A3DB8
accent
#3AEE7B
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5C8416

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

Preview Lab → · Contrast checker → · Palette generator →

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