#879D4E#879D4E
#879D4E is a light, moderate yellow-green. Relative luminance 0.298; OKLCH L 66.1% C 0.108 H 122.2°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #879D4E |
|---|---|
| RGB | rgb(135, 157, 78) |
| HSL | hsl(77, 34%, 46%) |
| HSV | hsv(77, 50%, 62%) |
| CMYK | cmyk(14%, 0%, 50.3%, 38.4%) |
| CIE-LAB | lab(61.49, -20.55, 38.45) |
| CIE-LCH | lch(61.49, 43.60, 118.12°) |
| OKLab | oklab(66.09% -0.0578 0.0916) |
| OKLCH | oklch(66.09% 0.108 122.2) |
| XYZ | xyz(23.4239, 29.8149, 11.7271) |
| Luminance | 0.2982 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Moss Green
#8A9A5B
ΔE00 3.08
Camo
#7F8F4E
ΔE00 4.91
Drab Green
#749551
ΔE00 4.96
Moss
#769958
ΔE00 5.05
Flat Green
#699D4C
ΔE00 6.37
Asparagus
#77AB56
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#879D4E #644E9D
analogous
#9D8B4E #879D4E #5F9D4E
triadic
#879D4E #4E879D #9D4E87
tetradic
#879D4E #4E9D8B #644E9D #9D4E5F
square
#879D4E #4E9D8B #644E9D #9D4E5F
split-complementary
#879D4E #4E5F9D #8B4E9D
monochromatic
#414B25 #64743A #879D4E #A4B870 #BECC99
Accessibility & contrast
On white
3.02
#879D4E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.96
#879D4E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #879D4E
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##879D4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##879D4E | 1.00 | 3.02 | 6.96 | 6.96 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A59547
Deuteranopia (green-blind)
#A29452
Tritanopia (blue-blind)
#8D968B
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #879d4e; /* rgb */ color: rgb(135, 157, 78); /* oklch */ color: oklch(66.1% 0.108 122.2);
Tailwind
colors: {
custom: {
50: '#abba81',
500: '#879d4e',
950: '#000000',
},
}SCSS
$custom: #879d4e; $custom-light: #abba81; $custom-dark: #000000;
JSON
{
"hex": "#879d4e",
"rgb": {
"r": 135,
"g": 157,
"b": 78
},
"hsl": {
"h": 76.709,
"s": 33.617,
"l": 46.078
},
"oklch": {
"l": 0.66092,
"c": 0.1083,
"h": 122.2
},
"luminance": 0.29815
}Semantic roles & 50–950 ramp
primary
#879D4E
secondary
#9A8EB9
accent
#5ECA7C
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#10110A
muted
#7F807C