#4C8B19#4C8B19
#4C8B19 is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.2% C 0.156 H 135.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #4C8B19 |
|---|---|
| RGB | rgb(76, 139, 25) |
| HSL | hsl(93, 70%, 32%) |
| HSV | hsv(93, 82%, 55%) |
| CMYK | cmyk(45.3%, 0%, 82%, 45.5%) |
| CIE-LAB | lab(51.92, -39.24, 49.84) |
| CIE-LCH | lch(51.92, 63.43, 128.21°) |
| OKLab | oklab(57.24% -0.1099 0.1101) |
| OKLCH | oklch(57.24% 0.156 135) |
| XYZ | xyz(12.3883, 20.0712, 4.1409) |
| Luminance | 0.2007 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 2.92
Mossy Green
#638B27
ΔE00 3.81
Avocado
#568203
ΔE00 4.31
Dark Grass Green
#388004
ΔE00 4.68
Moss Green (survey)
#658B38
ΔE00 4.90
Forestgreen (CSS)
#228B22
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C8B19 #58198B
analogous
#858B19 #4C8B19 #198B1F
triadic
#4C8B19 #194C8B #8B194C
tetradic
#4C8B19 #19858B #58198B #8B1F19
square
#4C8B19 #19858B #58198B #8B1F19
split-complementary
#4C8B19 #1F198B #8B1985
monochromatic
#132306 #305710 #4C8B19 #68BF22 #87DD41
Accessibility & contrast
On white
4.19
#4C8B19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#4C8B19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4C8B19
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C8B19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4C8B19 | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#887A26
Tritanopia (blue-blind)
#4A8576
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #4c8b19; /* rgb */ color: rgb(76, 139, 25); /* oklch */ color: oklch(57.2% 0.156 135.0);
Tailwind
colors: {
custom: {
50: '#84ad61',
500: '#4c8b19',
950: '#000000',
},
}SCSS
$custom: #4c8b19; $custom-light: #84ad61; $custom-dark: #000000;
JSON
{
"hex": "#4c8b19",
"rgb": {
"r": 76,
"g": 139,
"b": 25
},
"hsl": {
"h": 93.158,
"s": 69.512,
"l": 32.157
},
"oklch": {
"l": 0.57243,
"c": 0.15556,
"h": 135
},
"luminance": 0.20072
}Semantic roles & 50–950 ramp
primary
#4C8B19
secondary
#8642BE
accent
#3BEC9D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1005
muted
#7C7F7A