#4D8E1D#4D8E1D
#4D8E1D is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.1% C 0.157 H 135.4°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #4D8E1D |
|---|---|
| RGB | rgb(77, 142, 29) |
| HSL | hsl(95, 66%, 34%) |
| HSV | hsv(95, 80%, 56%) |
| CMYK | cmyk(45.8%, 0%, 79.6%, 44.3%) |
| CIE-LAB | lab(52.96, -39.93, 49.57) |
| CIE-LCH | lch(52.96, 63.66, 128.85°) |
| OKLab | oklab(58.12% -0.1116 0.1101) |
| OKLCH | oklch(58.12% 0.157 135.4) |
| XYZ | xyz(12.9550, 21.0117, 4.5352) |
| Luminance | 0.2101 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 3.14
Mossy Green
#638B27
ΔE00 3.88
Grass Green
#3F9B0B
ΔE00 4.71
Moss Green (survey)
#658B38
ΔE00 4.84
Grassy Green
#419C03
ΔE00 5.05
Forestgreen (CSS)
#228B22
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D8E1D #5E1D8E
analogous
#858E1D #4D8E1D #1D8E25
triadic
#4D8E1D #1D4D8E #8E1D4D
tetradic
#4D8E1D #1D858E #5E1D8E #8E251D
square
#4D8E1D #1D858E #5E1D8E #8E251D
split-complementary
#4D8E1D #251D8E #8E1D85
monochromatic
#162808 #315B13 #4D8E1D #69C127 #88DA4B
Accessibility & contrast
On white
4.04
#4D8E1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.20
#4D8E1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4D8E1D
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D8E1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4D8E1D | 1.00 | 4.04 | 5.20 | 5.20 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#8B7C29
Tritanopia (blue-blind)
#4B8879
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #4d8e1d; /* rgb */ color: rgb(77, 142, 29); /* oklch */ color: oklch(58.1% 0.157 135.4);
Tailwind
colors: {
custom: {
50: '#85af63',
500: '#4d8e1d',
950: '#000000',
},
}SCSS
$custom: #4d8e1d; $custom-light: #85af63; $custom-dark: #000000;
JSON
{
"hex": "#4d8e1d",
"rgb": {
"r": 77,
"g": 142,
"b": 29
},
"hsl": {
"h": 94.513,
"s": 66.082,
"l": 33.529
},
"oklch": {
"l": 0.5812,
"c": 0.15678,
"h": 135.4
},
"luminance": 0.21012
}Semantic roles & 50–950 ramp
primary
#4D8E1D
secondary
#8C4ABD
accent
#3FE9A1
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A