#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 |
|---|---|
| RGB | rgb(92, 129, 25) |
| HSL | hsl(81, 68%, 30%) |
| HSV | hsv(81, 81%, 51%) |
| CMYK | cmyk(28.7%, 0%, 80.6%, 49.4%) |
| CIE-LAB | lab(49.55, -28.69, 47.96) |
| CIE-LCH | lch(49.55, 55.89, 120.89°) |
| OKLab | oklab(55.54% -0.0825 0.1058) |
| OKLCH | oklch(55.54% 0.134 128) |
| XYZ | xyz(12.4394, 18.0457, 3.7473) |
| Luminance | 0.1805 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 1.71
Dirty Green
#667E2C
ΔE00 3.28
Sap Green
#5C8B15
ΔE00 3.70
Mossy Green
#638B27
ΔE00 3.76
Swamp
#698339
ΔE00 4.53
Olive Green
#677A04
ΔE00 4.86
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 |
|---|---|---|---|---|
| ##5C8119 | 1.00 | 4.56 | 4.61 | 4.61 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.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