#4C8D2C#4C8D2C
#4C8D2C is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.9% C 0.147 H 137.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #4C8D2C |
|---|---|
| RGB | rgb(76, 141, 44) |
| HSL | hsl(100, 52%, 36%) |
| HSV | hsv(100, 69%, 55%) |
| CMYK | cmyk(46.1%, 0%, 68.8%, 44.7%) |
| CIE-LAB | lab(52.69, -38.75, 43.59) |
| CIE-LCH | lch(52.69, 58.32, 131.64°) |
| OKLab | oklab(57.92% -0.1073 0.0998) |
| OKLCH | oklch(57.92% 0.147 137.1) |
| XYZ | xyz(12.9596, 20.7673, 5.7080) |
| Luminance | 0.2077 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Fern Green
#548D44
ΔE00 3.83
Forestgreen (CSS)
#228B22
ΔE00 4.28
Moss Green (survey)
#658B38
ΔE00 4.40
Sap Green
#5C8B15
ΔE00 4.49
Mossy Green
#638B27
ΔE00 4.50
Emerald Green
#028F1E
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C8D2C #6D2C8D
analogous
#7D8D2C #4C8D2C #2C8D3D
triadic
#4C8D2C #2C4C8D #8D2C4C
tetradic
#4C8D2C #2C7D8D #6D2C8D #8D3D2C
square
#4C8D2C #2C7D8D #6D2C8D #8D3D2C
split-complementary
#4C8D2C #3D2C8D #8D2C7D
monochromatic
#1A300F #335E1D #4C8D2C #65BC3B #88CF65
Accessibility & contrast
On white
4.07
#4C8D2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#4C8D2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4C8D2C
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C8D2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4C8D2C | 1.00 | 4.07 | 5.15 | 5.15 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92811F
Deuteranopia (green-blind)
#897C35
Tritanopia (blue-blind)
#498879
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #4c8d2c; /* rgb */ color: rgb(76, 141, 44); /* oklch */ color: oklch(57.9% 0.147 137.1);
Tailwind
colors: {
custom: {
50: '#84af6a',
500: '#4c8d2c',
950: '#000000',
},
}SCSS
$custom: #4c8d2c; $custom-light: #84af6a; $custom-dark: #000000;
JSON
{
"hex": "#4c8d2c",
"rgb": {
"r": 76,
"g": 141,
"b": 44
},
"hsl": {
"h": 100.206,
"s": 52.432,
"l": 36.275
},
"oklch": {
"l": 0.5792,
"c": 0.14651,
"h": 137.1
},
"luminance": 0.20768
}Semantic roles & 50–950 ramp
primary
#4C8D2C
secondary
#9960B5
accent
#4CDCAC
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A