#4C8E16#4C8E16
#4C8E16 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.0% C 0.161 H 135.1°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #4C8E16 |
|---|---|
| RGB | rgb(76, 142, 22) |
| HSL | hsl(93, 73%, 32%) |
| HSV | hsv(93, 85%, 56%) |
| CMYK | cmyk(46.5%, 0%, 84.5%, 44.3%) |
| CIE-LAB | lab(52.88, -40.64, 51.59) |
| CIE-LCH | lch(52.88, 65.67, 128.23°) |
| OKLab | oklab(58.03% -0.1138 0.1133) |
| OKLCH | oklch(58.03% 0.161 135.1) |
| XYZ | xyz(12.7980, 20.9396, 4.1263) |
| Luminance | 0.2094 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 2.98
Mossy Green
#638B27
ΔE00 4.00
Grass Green
#3F9B0B
ΔE00 4.57
Grassy Green
#419C03
ΔE00 4.88
Avocado
#568203
ΔE00 5.02
True Green
#089404
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C8E16 #58168E
analogous
#888E16 #4C8E16 #168E1C
triadic
#4C8E16 #164C8E #8E164C
tetradic
#4C8E16 #16888E #58168E #8E1C16
square
#4C8E16 #16888E #58168E #8E1C16
split-complementary
#4C8E16 #1C168E #8E1688
monochromatic
#132406 #30590E #4C8E16 #68C31E #87E13D
Accessibility & contrast
On white
4.05
#4C8E16 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#4C8E16 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4C8E16
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C8E16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4C8E16 | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8B7C25
Tritanopia (blue-blind)
#4A8879
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #4c8e16; /* rgb */ color: rgb(76, 142, 22); /* oklch */ color: oklch(58.0% 0.161 135.1);
Tailwind
colors: {
custom: {
50: '#85af60',
500: '#4c8e16',
950: '#000000',
},
}SCSS
$custom: #4c8e16; $custom-light: #85af60; $custom-dark: #000000;
JSON
{
"hex": "#4c8e16",
"rgb": {
"r": 76,
"g": 142,
"b": 22
},
"hsl": {
"h": 93,
"s": 73.171,
"l": 32.157
},
"oklch": {
"l": 0.58032,
"c": 0.16061,
"h": 135.1
},
"luminance": 0.2094
}Semantic roles & 50–950 ramp
primary
#4C8E16
secondary
#863FC1
accent
#38F09D
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A