#4D8F1D#4D8F1D
#4D8F1D is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.4% C 0.158 H 135.5°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #4D8F1D |
|---|---|
| RGB | rgb(77, 143, 29) |
| HSL | hsl(95, 66%, 34%) |
| HSV | hsv(95, 80%, 56%) |
| CMYK | cmyk(46.2%, 0%, 79.7%, 43.9%) |
| CIE-LAB | lab(53.29, -40.35, 49.88) |
| CIE-LCH | lch(53.29, 64.16, 128.97°) |
| OKLab | oklab(58.39% -0.1127 0.1108) |
| OKLCH | oklch(58.39% 0.158 135.5) |
| XYZ | xyz(13.1045, 21.3106, 4.5850) |
| Luminance | 0.2131 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 3.27
Mossy Green
#638B27
ΔE00 4.00
Grass Green
#3F9B0B
ΔE00 4.38
Grassy Green
#419C03
ΔE00 4.72
Moss Green (survey)
#658B38
ΔE00 4.95
True Green
#089404
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D8F1D #5F1D8F
analogous
#868F1D #4D8F1D #1D8F26
triadic
#4D8F1D #1D4D8F #8F1D4D
tetradic
#4D8F1D #1D868F #5F1D8F #8F261D
square
#4D8F1D #1D868F #5F1D8F #8F261D
split-complementary
#4D8F1D #261D8F #8F1D86
monochromatic
#162908 #325C13 #4D8F1D #68C227 #88DB4C
Accessibility & contrast
On white
3.99
#4D8F1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#4D8F1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4D8F1D
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D8F1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4D8F1D | 1.00 | 3.99 | 5.26 | 5.26 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948300
Deuteranopia (green-blind)
#8C7D2A
Tritanopia (blue-blind)
#4B897A
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #4d8f1d; /* rgb */ color: rgb(77, 143, 29); /* oklch */ color: oklch(58.4% 0.158 135.5);
Tailwind
colors: {
custom: {
50: '#85b063',
500: '#4d8f1d',
950: '#000000',
},
}SCSS
$custom: #4d8f1d; $custom-light: #85b063; $custom-dark: #000000;
JSON
{
"hex": "#4d8f1d",
"rgb": {
"r": 77,
"g": 143,
"b": 29
},
"hsl": {
"h": 94.737,
"s": 66.279,
"l": 33.725
},
"oklch": {
"l": 0.58387,
"c": 0.15803,
"h": 135.5
},
"luminance": 0.21311
}Semantic roles & 50–950 ramp
primary
#4D8F1D
secondary
#8D4BBD
accent
#3FE9A1
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A