#4C8F16#4C8F16
#4C8F16 is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.3% C 0.162 H 135.3°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #4C8F16 |
|---|---|
| RGB | rgb(76, 143, 22) |
| HSL | hsl(93, 73%, 32%) |
| HSV | hsv(93, 85%, 56%) |
| CMYK | cmyk(46.9%, 0%, 84.6%, 43.9%) |
| CIE-LAB | lab(53.21, -41.05, 51.88) |
| CIE-LCH | lch(53.21, 66.15, 128.35°) |
| OKLab | oklab(58.3% -0.1149 0.1139) |
| OKLCH | oklch(58.3% 0.162 135.3) |
| XYZ | xyz(12.9475, 21.2385, 4.1761) |
| Luminance | 0.2124 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 3.11
Mossy Green
#638B27
ΔE00 4.12
Grass Green
#3F9B0B
ΔE00 4.24
Grassy Green
#419C03
ΔE00 4.54
True Green
#089404
ΔE00 5.00
Olivedrab
#6B8E23
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C8F16 #59168F
analogous
#898F16 #4C8F16 #168F1D
triadic
#4C8F16 #164C8F #8F164C
tetradic
#4C8F16 #16898F #59168F #8F1D16
square
#4C8F16 #16898F #59168F #8F1D16
split-complementary
#4C8F16 #1D168F #8F1689
monochromatic
#142506 #305A0E #4C8F16 #68C41E #87E13E
Accessibility & contrast
On white
4.00
#4C8F16 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#4C8F16 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4C8F16
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C8F16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4C8F16 | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958200
Deuteranopia (green-blind)
#8C7D25
Tritanopia (blue-blind)
#4A8979
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #4c8f16; /* rgb */ color: rgb(76, 143, 22); /* oklch */ color: oklch(58.3% 0.162 135.3);
Tailwind
colors: {
custom: {
50: '#85b060',
500: '#4c8f16',
950: '#000000',
},
}SCSS
$custom: #4c8f16; $custom-light: #85b060; $custom-dark: #000000;
JSON
{
"hex": "#4c8f16",
"rgb": {
"r": 76,
"g": 143,
"b": 22
},
"hsl": {
"h": 93.223,
"s": 73.333,
"l": 32.353
},
"oklch": {
"l": 0.583,
"c": 0.16183,
"h": 135.3
},
"luminance": 0.21239
}Semantic roles & 50–950 ramp
primary
#4C8F16
secondary
#873FC1
accent
#38F09E
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A