#4F862C#4F862C
#4F862C is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.2% C 0.135 H 135.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #4F862C |
|---|---|
| RGB | rgb(79, 134, 44) |
| HSL | hsl(97, 51%, 35%) |
| HSV | hsv(97, 67%, 53%) |
| CMYK | cmyk(41%, 0%, 67.2%, 47.5%) |
| CIE-LAB | lab(50.56, -34.66, 41.34) |
| CIE-LCH | lch(50.56, 53.95, 129.98°) |
| OKLab | oklab(56.21% -0.0964 0.095) |
| OKLCH | oklch(56.21% 0.135 135.4) |
| XYZ | xyz(12.2039, 18.8937, 5.3862) |
| Luminance | 0.1889 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Moss Green (survey)
#658B38
ΔE00 4.12
Fern Green
#548D44
ΔE00 4.22
Mossy Green
#638B27
ΔE00 4.43
Dark Grass Green
#388004
ΔE00 4.51
Sap Green
#5C8B15
ΔE00 4.67
Avocado
#568203
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F862C #632C86
analogous
#7C862C #4F862C #2C8636
triadic
#4F862C #2C4F86 #862C4F
tetradic
#4F862C #2C7C86 #632C86 #86362C
square
#4F862C #2C7C86 #632C86 #86362C
split-complementary
#4F862C #362C86 #862C7C
monochromatic
#192A0E #34581D #4F862C #6AB43B #8ACB61
Accessibility & contrast
On white
4.39
#4F862C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#4F862C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4F862C
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F862C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4F862C | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B20
Deuteranopia (green-blind)
#837733
Tritanopia (blue-blind)
#4E8173
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #4f862c; /* rgb */ color: rgb(79, 134, 44); /* oklch */ color: oklch(56.2% 0.135 135.4);
Tailwind
colors: {
custom: {
50: '#85a96a',
500: '#4f862c',
950: '#000000',
},
}SCSS
$custom: #4f862c; $custom-light: #85a96a; $custom-dark: #000000;
JSON
{
"hex": "#4f862c",
"rgb": {
"r": 79,
"g": 134,
"b": 44
},
"hsl": {
"h": 96.667,
"s": 50.562,
"l": 34.902
},
"oklch": {
"l": 0.56213,
"c": 0.13534,
"h": 135.4
},
"luminance": 0.18894
}Semantic roles & 50–950 ramp
primary
#4F862C
secondary
#905CB1
accent
#4EDAA3
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A