#4D8E2B#4D8E2B
#4D8E2B is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.2% C 0.148 H 136.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #4D8E2B |
|---|---|
| RGB | rgb(77, 142, 43) |
| HSL | hsl(99, 54%, 36%) |
| HSV | hsv(99, 70%, 56%) |
| CMYK | cmyk(45.8%, 0%, 69.7%, 44.3%) |
| CIE-LAB | lab(53.06, -38.93, 44.41) |
| CIE-LCH | lch(53.06, 59.05, 131.24°) |
| OKLab | oklab(58.23% -0.1079 0.1014) |
| OKLCH | oklch(58.23% 0.148 136.8) |
| XYZ | xyz(13.1692, 21.0974, 5.6633) |
| Luminance | 0.2110 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Fern Green
#548D44
ΔE00 4.05
Sap Green
#5C8B15
ΔE00 4.29
Mossy Green
#638B27
ΔE00 4.35
Moss Green (survey)
#658B38
ΔE00 4.37
Forestgreen (CSS)
#228B22
ΔE00 4.50
Emerald Green
#028F1E
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D8E2B #6C2B8E
analogous
#7F8E2B #4D8E2B #2B8E3B
triadic
#4D8E2B #2B4D8E #8E2B4D
tetradic
#4D8E2B #2B7F8E #6C2B8E #8E3B2B
square
#4D8E2B #2B7F8E #6C2B8E #8E3B2B
split-complementary
#4D8E2B #3B2B8E #8E2B7F
monochromatic
#1A300F #345F1D #4D8E2B #66BD39 #89D063
Accessibility & contrast
On white
4.02
#4D8E2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#4D8E2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4D8E2B
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D8E2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4D8E2B | 1.00 | 4.02 | 5.22 | 5.22 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93821D
Deuteranopia (green-blind)
#8A7D34
Tritanopia (blue-blind)
#4A897A
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #4d8e2b; /* rgb */ color: rgb(77, 142, 43); /* oklch */ color: oklch(58.2% 0.148 136.8);
Tailwind
colors: {
custom: {
50: '#84af6a',
500: '#4d8e2b',
950: '#000000',
},
}SCSS
$custom: #4d8e2b; $custom-light: #84af6a; $custom-dark: #000000;
JSON
{
"hex": "#4d8e2b",
"rgb": {
"r": 77,
"g": 142,
"b": 43
},
"hsl": {
"h": 99.394,
"s": 53.514,
"l": 36.275
},
"oklch": {
"l": 0.58226,
"c": 0.14805,
"h": 136.8
},
"luminance": 0.21098
}Semantic roles & 50–950 ramp
primary
#4D8E2B
secondary
#985FB6
accent
#4BDDAB
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1007
muted
#7C7F7A