#4C8E11#4C8E11
#4C8E11 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.0% C 0.163 H 134.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #4C8E11 |
|---|---|
| RGB | rgb(76, 142, 17) |
| HSL | hsl(92, 79%, 31%) |
| HSV | hsv(92, 88%, 56%) |
| CMYK | cmyk(46.5%, 0%, 88%, 44.3%) |
| CIE-LAB | lab(52.86, -40.85, 52.82) |
| CIE-LCH | lch(52.86, 66.77, 127.71°) |
| OKLab | oklab(58.01% -0.1147 0.1152) |
| OKLCH | oklch(58.01% 0.163 134.9) |
| XYZ | xyz(12.7544, 20.9222, 3.8965) |
| Luminance | 0.2092 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 2.85
Mossy Green
#638B27
ΔE00 4.04
Grass Green
#3F9B0B
ΔE00 4.56
Grassy Green
#419C03
ΔE00 4.82
Avocado
#568203
ΔE00 4.89
True Green
#089404
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C8E11 #53118E
analogous
#8A8E11 #4C8E11 #118E14
triadic
#4C8E11 #114C8E #8E114C
tetradic
#4C8E11 #118A8E #53118E #8E1411
square
#4C8E11 #118A8E #53118E #8E1411
split-complementary
#4C8E11 #14118E #8E118A
monochromatic
#112104 #2F570A #4C8E11 #69C518 #88E733
Accessibility & contrast
On white
4.05
#4C8E11 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#4C8E11 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4C8E11
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C8E11 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4C8E11 | 1.00 | 4.05 | 5.18 | 5.18 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8B7C22
Tritanopia (blue-blind)
#4A8878
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #4c8e11; /* rgb */ color: rgb(76, 142, 17); /* oklch */ color: oklch(58.0% 0.163 134.9);
Tailwind
colors: {
custom: {
50: '#85af5e',
500: '#4c8e11',
950: '#000000',
},
}SCSS
$custom: #4c8e11; $custom-light: #85af5e; $custom-dark: #000000;
JSON
{
"hex": "#4c8e11",
"rgb": {
"r": 76,
"g": 142,
"b": 17
},
"hsl": {
"h": 91.68,
"s": 78.616,
"l": 31.176
},
"oklch": {
"l": 0.5801,
"c": 0.16252,
"h": 134.9
},
"luminance": 0.20923
}Semantic roles & 50–950 ramp
primary
#4C8E11
secondary
#8138C2
accent
#33F599
background
#F8FAF5
surface
#F0F5EA
border
#CBCFC6
text
#0C1005
muted
#7D7F79