#4F8D2B#4F8D2B
#4F8D2B is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.1% C 0.146 H 136.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #4F8D2B |
|---|---|
| RGB | rgb(79, 141, 43) |
| HSL | hsl(98, 53%, 36%) |
| HSV | hsv(98, 70%, 55%) |
| CMYK | cmyk(44%, 0%, 69.5%, 44.7%) |
| CIE-LAB | lab(52.82, -37.82, 44.19) |
| CIE-LCH | lch(52.82, 58.17, 130.56°) |
| OKLab | oklab(58.06% -0.105 0.1009) |
| OKLCH | oklch(58.06% 0.146 136.2) |
| XYZ | xyz(13.1850, 20.8857, 5.6216) |
| Luminance | 0.2089 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 3.99
Sap Green
#5C8B15
ΔE00 4.00
Moss Green (survey)
#658B38
ΔE00 4.01
Fern Green
#548D44
ΔE00 4.02
Forestgreen (CSS)
#228B22
ΔE00 4.73
Emerald Green
#028F1E
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F8D2B #692B8D
analogous
#808D2B #4F8D2B #2B8D38
triadic
#4F8D2B #2B4F8D #8D2B4F
tetradic
#4F8D2B #2B808D #692B8D #8D382B
square
#4F8D2B #2B808D #692B8D #8D382B
split-complementary
#4F8D2B #382B8D #8D2B80
monochromatic
#1A2F0E #355E1D #4F8D2B #69BC39 #8BCF63
Accessibility & contrast
On white
4.06
#4F8D2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#4F8D2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4F8D2B
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F8D2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4F8D2B | 1.00 | 4.06 | 5.18 | 5.18 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92811D
Deuteranopia (green-blind)
#8A7C34
Tritanopia (blue-blind)
#4D8879
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #4f8d2b; /* rgb */ color: rgb(79, 141, 43); /* oklch */ color: oklch(58.1% 0.146 136.2);
Tailwind
colors: {
custom: {
50: '#86af6a',
500: '#4f8d2b',
950: '#000000',
},
}SCSS
$custom: #4f8d2b; $custom-light: #86af6a; $custom-dark: #000000;
JSON
{
"hex": "#4f8d2b",
"rgb": {
"r": 79,
"g": 141,
"b": 43
},
"hsl": {
"h": 97.959,
"s": 53.261,
"l": 36.078
},
"oklch": {
"l": 0.58062,
"c": 0.14564,
"h": 136.2
},
"luminance": 0.20886
}Semantic roles & 50–950 ramp
primary
#4F8D2B
secondary
#955EB6
accent
#4BDDA7
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A