#4F861F#4F861F
#4F861F is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.1% C 0.144 H 133.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #4F861F |
|---|---|
| RGB | rgb(79, 134, 31) |
| HSL | hsl(92, 62%, 32%) |
| HSV | hsv(92, 77%, 53%) |
| CMYK | cmyk(41%, 0%, 76.9%, 47.5%) |
| CIE-LAB | lab(50.47, -35.68, 46.51) |
| CIE-LCH | lch(50.47, 58.62, 127.49°) |
| OKLab | oklab(56.1% -0.1001 0.104) |
| OKLCH | oklch(56.1% 0.144 133.9) |
| XYZ | xyz(11.9967, 18.8108, 4.2948) |
| Luminance | 0.1881 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 3.37
Sap Green
#5C8B15
ΔE00 3.38
Mossy Green
#638B27
ΔE00 3.78
Dark Grass Green
#388004
ΔE00 3.80
Moss Green (survey)
#658B38
ΔE00 4.48
Forestgreen (CSS)
#228B22
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F861F #561F86
analogous
#82861F #4F861F #1F8623
triadic
#4F861F #1F4F86 #861F4F
tetradic
#4F861F #1F8286 #561F86 #86231F
square
#4F861F #1F8286 #561F86 #86231F
split-complementary
#4F861F #231F86 #861F82
monochromatic
#142308 #325414 #4F861F #6CB82A #8BD54A
Accessibility & contrast
On white
4.41
#4F861F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#4F861F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4F861F
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F861F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4F861F | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B09
Deuteranopia (green-blind)
#847729
Tritanopia (blue-blind)
#4F8172
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #4f861f; /* rgb */ color: rgb(79, 134, 31); /* oklch */ color: oklch(56.1% 0.144 133.9);
Tailwind
colors: {
custom: {
50: '#85a963',
500: '#4f861f',
950: '#000000',
},
}SCSS
$custom: #4f861f; $custom-light: #85a963; $custom-dark: #000000;
JSON
{
"hex": "#4f861f",
"rgb": {
"r": 79,
"g": 134,
"b": 31
},
"hsl": {
"h": 92.039,
"s": 62.424,
"l": 32.353
},
"oklch": {
"l": 0.56102,
"c": 0.14436,
"h": 133.9
},
"luminance": 0.18811
}Semantic roles & 50–950 ramp
primary
#4F861F
secondary
#8449B8
accent
#42E599
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A