#5C8119#5C8119

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

Color values

HEX#5C8119
RGBrgb(92, 129, 25)
HSLhsl(81, 68%, 30%)
HSVhsv(81, 81%, 51%)
CMYKcmyk(28.7%, 0%, 80.6%, 49.4%)
CIE-LABlab(49.55, -28.69, 47.96)
CIE-LCHlch(49.55, 55.89, 120.89°)
OKLaboklab(55.54% -0.0825 0.1058)
OKLCHoklch(55.54% 0.134 128)
XYZxyz(12.4394, 18.0457, 3.7473)
Luminance0.1805 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8119 #3E1981
analogous
#817219 #5C8119 #288119
triadic
#5C8119 #195C81 #81195C
tetradic
#5C8119 #198172 #3E1981 #811928
square
#5C8119 #198172 #3E1981 #811928
split-complementary
#5C8119 #192881 #721981
monochromatic
#131A05 #374E0F #5C8119 #81B423 #A1D93B

Accessibility & contrast

On white

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

On black

4.61
#5C8119 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8119
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8119#FFFFFF#000000##000000
##5C81191.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c8119;
/* rgb */ color: rgb(92, 129, 25);
/* oklch */ color: oklch(55.5% 0.134 128.0);
Tailwind
colors: {
  custom: {
    50: '#8ea55f',
    500: '#5c8119',
    950: '#000000',
  },
}
SCSS
$custom: #5c8119;
$custom-light: #8ea55f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8119",
  "rgb": {
    "r": 92,
    "g": 129,
    "b": 25
  },
  "hsl": {
    "h": 81.346,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.55541,
    "c": 0.13415,
    "h": 128
  },
  "luminance": 0.18046
}

Semantic roles & 50–950 ramp

primary
#5C8119
secondary
#6A41B5
accent
#3DEA7B
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5C8119

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

Preview Lab → · Contrast checker → · Palette generator →

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