#5C8016#5C8016

#5C8016 is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.3% C 0.134 H 127.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5C8016
RGBrgb(92, 128, 22)
HSLhsl(80, 71%, 29%)
HSVhsv(80, 83%, 50%)
CMYKcmyk(28.1%, 0%, 82.8%, 49.8%)
CIE-LABlab(49.22, -28.36, 48.60)
CIE-LCHlch(49.22, 56.27, 120.26°)
OKLaboklab(55.27% -0.0818 0.1066)
OKLCHoklch(55.27% 0.134 127.5)
XYZxyz(12.2777, 17.7713, 3.5422)
Luminance0.1777 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8016 #3A1680
analogous
#806F16 #5C8016 #278016
triadic
#5C8016 #165C80 #80165C
tetradic
#5C8016 #16806F #3A1680 #801627
square
#5C8016 #16806F #3A1680 #801627
split-complementary
#5C8016 #162780 #6F1680
monochromatic
#131A04 #364C0D #5C8016 #82B41F #A3DC34

Accessibility & contrast

On white

4.61
#5C8016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#5C8016 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5C8016
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8016#FFFFFF#000000##FFFFFF
##5C80161.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#827422
Tritanopia (blue-blind)
#607A6D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5c8016;
/* rgb */ color: rgb(92, 128, 22);
/* oklch */ color: oklch(55.3% 0.134 127.5);
Tailwind
colors: {
  custom: {
    50: '#8ea55e',
    500: '#5c8016',
    950: '#000000',
  },
}
SCSS
$custom: #5c8016;
$custom-light: #8ea55e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8016",
  "rgb": {
    "r": 92,
    "g": 128,
    "b": 22
  },
  "hsl": {
    "h": 80.377,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.55265,
    "c": 0.13437,
    "h": 127.5
  },
  "luminance": 0.17772
}

Semantic roles & 50–950 ramp

primary
#5C8016
secondary
#663DB5
accent
#3AED77
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5C8016

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

Preview Lab → · Contrast checker → · Palette generator →

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