#4C8D2B#4C8D2B
#4C8D2B is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 57.9% C 0.147 H 136.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #4C8D2B |
|---|---|
| RGB | rgb(76, 141, 43) |
| HSL | hsl(100, 53%, 36%) |
| HSV | hsv(100, 70%, 55%) |
| CMYK | cmyk(46.1%, 0%, 69.5%, 44.7%) |
| CIE-LAB | lab(52.69, -38.83, 44.00) |
| CIE-LCH | lch(52.69, 58.69, 131.43°) |
| OKLab | oklab(57.91% -0.1076 0.1005) |
| OKLCH | oklch(57.91% 0.147 136.9) |
| XYZ | xyz(12.9410, 20.7599, 5.6102) |
| Luminance | 0.2076 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Fern Green
#548D44
ΔE00 3.97
Forestgreen (CSS)
#228B22
ΔE00 4.29
Sap Green
#5C8B15
ΔE00 4.38
Moss Green (survey)
#658B38
ΔE00 4.41
Mossy Green
#638B27
ΔE00 4.44
Emerald Green
#028F1E
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C8D2B #6C2B8D
analogous
#7D8D2B #4C8D2B #2B8D3B
triadic
#4C8D2B #2B4C8D #8D2B4C
tetradic
#4C8D2B #2B7D8D #6C2B8D #8D3B2B
square
#4C8D2B #2B7D8D #6C2B8D #8D3B2B
split-complementary
#4C8D2B #3B2B8D #8D2B7D
monochromatic
#192F0E #335E1D #4C8D2B #65BC39 #87CF63
Accessibility & contrast
On white
4.08
#4C8D2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#4C8D2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4C8D2B
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C8D2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4C8D2B | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 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)
#92811D
Deuteranopia (green-blind)
#897C34
Tritanopia (blue-blind)
#498879
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #4c8d2b; /* rgb */ color: rgb(76, 141, 43); /* oklch */ color: oklch(57.9% 0.147 136.9);
Tailwind
colors: {
custom: {
50: '#84af6a',
500: '#4c8d2b',
950: '#000000',
},
}SCSS
$custom: #4c8d2b; $custom-light: #84af6a; $custom-dark: #000000;
JSON
{
"hex": "#4c8d2b",
"rgb": {
"r": 76,
"g": 141,
"b": 43
},
"hsl": {
"h": 99.796,
"s": 53.261,
"l": 36.078
},
"oklch": {
"l": 0.5791,
"c": 0.14724,
"h": 136.9
},
"luminance": 0.20761
}Semantic roles & 50–950 ramp
primary
#4C8D2B
secondary
#985EB6
accent
#4BDDAC
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A