#5C8316#5C8316

#5C8316 is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.0% C 0.138 H 128.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5C8316
RGBrgb(92, 131, 22)
HSLhsl(81, 71%, 30%)
HSVhsv(81, 83%, 51%)
CMYKcmyk(29.8%, 0%, 83.2%, 48.6%)
CIE-LABlab(50.17, -29.79, 49.46)
CIE-LCHlch(50.17, 57.74, 121.06°)
OKLaboklab(56.04% -0.0857 0.1084)
OKLCHoklch(56.04% 0.138 128.3)
XYZxyz(12.6748, 18.5655, 3.6746)
Luminance0.1857 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8316 #3D1683
analogous
#837416 #5C8316 #258316
triadic
#5C8316 #165C83 #83165C
tetradic
#5C8316 #168374 #3D1683 #831625
square
#5C8316 #168374 #3D1683 #831625
split-complementary
#5C8316 #162583 #741683
monochromatic
#121A04 #374F0D #5C8316 #81B71F #A1DD36

Accessibility & contrast

On white

4.46
#5C8316 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#5C8316 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8316
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8316#FFFFFF#000000##000000
##5C83161.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#857722
Tritanopia (blue-blind)
#5F7D6F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5c8316;
/* rgb */ color: rgb(92, 131, 22);
/* oklch */ color: oklch(56.0% 0.138 128.3);
Tailwind
colors: {
  custom: {
    50: '#8ea75e',
    500: '#5c8316',
    950: '#000000',
  },
}
SCSS
$custom: #5c8316;
$custom-light: #8ea75e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8316",
  "rgb": {
    "r": 92,
    "g": 131,
    "b": 22
  },
  "hsl": {
    "h": 81.468,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.56044,
    "c": 0.13819,
    "h": 128.3
  },
  "luminance": 0.18566
}

Semantic roles & 50–950 ramp

primary
#5C8316
secondary
#693DB7
accent
#3AEE7A
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5C8316

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

Preview Lab → · Contrast checker → · Palette generator →

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