#5C8113#5C8113

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

Color values

HEX#5C8113
RGBrgb(92, 129, 19)
HSLhsl(80, 74%, 29%)
HSVhsv(80, 85%, 51%)
CMYKcmyk(28.7%, 0%, 85.3%, 49.4%)
CIE-LABlab(49.52, -28.97, 49.73)
CIE-LCHlch(49.52, 57.55, 120.22°)
OKLaboklab(55.51% -0.0837 0.1085)
OKLCHoklch(55.51% 0.137 127.6)
XYZxyz(12.3815, 18.0226, 3.4423)
Luminance0.1802 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8113 #381381
analogous
#816F13 #5C8113 #258113
triadic
#5C8113 #135C81 #81135C
tetradic
#5C8113 #13816F #381381 #811325
square
#5C8113 #13816F #381381 #811325
split-complementary
#5C8113 #132581 #6F1381
monochromatic
#131B04 #364C0B #5C8113 #82B61B #A4E02E

Accessibility & contrast

On white

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

On black

4.60
#5C8113 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8113
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8113#FFFFFF#000000##000000
##5C81131.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c8113;
/* rgb */ color: rgb(92, 129, 19);
/* oklch */ color: oklch(55.5% 0.137 127.6);
Tailwind
colors: {
  custom: {
    50: '#8ea55d',
    500: '#5c8113',
    950: '#000000',
  },
}
SCSS
$custom: #5c8113;
$custom-light: #8ea55d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8113",
  "rgb": {
    "r": 92,
    "g": 129,
    "b": 19
  },
  "hsl": {
    "h": 80.182,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5551,
    "c": 0.13701,
    "h": 127.6
  },
  "luminance": 0.18023
}

Semantic roles & 50–950 ramp

primary
#5C8113
secondary
#633AB6
accent
#37F175
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5C8113

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

Preview Lab → · Contrast checker → · Palette generator →

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