#4D8F2A#4D8F2A
#4D8F2A is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.5% C 0.150 H 136.8°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #4D8F2A |
|---|---|
| RGB | rgb(77, 143, 42) |
| HSL | hsl(99, 55%, 36%) |
| HSV | hsv(99, 71%, 56%) |
| CMYK | cmyk(46.2%, 0%, 70.6%, 43.9%) |
| CIE-LAB | lab(53.37, -39.43, 45.15) |
| CIE-LCH | lch(53.37, 59.95, 131.13°) |
| OKLab | oklab(58.48% -0.1093 0.1028) |
| OKLCH | oklch(58.48% 0.15 136.8) |
| XYZ | xyz(13.3006, 21.3890, 5.6177) |
| Luminance | 0.2139 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 4.25
Fern Green
#548D44
ΔE00 4.29
Mossy Green
#638B27
ΔE00 4.38
Moss Green (survey)
#658B38
ΔE00 4.51
Forestgreen (CSS)
#228B22
ΔE00 4.62
Grass Green
#3F9B0B
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D8F2A #6C2A8F
analogous
#808F2A #4D8F2A #2A8F3A
triadic
#4D8F2A #2A4D8F #8F2A4D
tetradic
#4D8F2A #2A808F #6C2A8F #8F3A2A
square
#4D8F2A #2A808F #6C2A8F #8F3A2A
split-complementary
#4D8F2A #3A2A8F #8F2A80
monochromatic
#1A300E #34601C #4D8F2A #66BE38 #89D162
Accessibility & contrast
On white
3.98
#4D8F2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#4D8F2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4D8F2A
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D8F2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4D8F2A | 1.00 | 3.98 | 5.28 | 5.28 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#94831B
Deuteranopia (green-blind)
#8B7D33
Tritanopia (blue-blind)
#4A8A7B
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #4d8f2a; /* rgb */ color: rgb(77, 143, 42); /* oklch */ color: oklch(58.5% 0.150 136.8);
Tailwind
colors: {
custom: {
50: '#85b069',
500: '#4d8f2a',
950: '#000000',
},
}SCSS
$custom: #4d8f2a; $custom-light: #85b069; $custom-dark: #000000;
JSON
{
"hex": "#4d8f2a",
"rgb": {
"r": 77,
"g": 143,
"b": 42
},
"hsl": {
"h": 99.208,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.58484,
"c": 0.15008,
"h": 136.8
},
"luminance": 0.2139
}Semantic roles & 50–950 ramp
primary
#4D8F2A
secondary
#985EB7
accent
#4ADEAB
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1007
muted
#7C7F7A