#7E8470#7E8470
#7E8470 is a mid, muted yellow-green. Relative luminance 0.221; OKLCH L 60.2% C 0.030 H 120.9°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #7E8470 |
|---|---|
| RGB | rgb(126, 132, 112) |
| HSL | hsl(78, 8%, 48%) |
| HSV | hsv(78, 15%, 52%) |
| CMYK | cmyk(4.5%, 0%, 15.2%, 48.2%) |
| CIE-LAB | lab(54.14, -6.03, 10.06) |
| CIE-LCH | lch(54.14, 11.73, 120.96°) |
| OKLab | oklab(60.25% -0.0155 0.026) |
| OKLCH | oklch(60.25% 0.03 120.9) |
| XYZ | xyz(19.7797, 22.1080, 18.5513) |
| Luminance | 0.2211 (WCAG relative) |
| Temperature | neutral |
| Family | yellow-green |
Closest named colors
Brown Grey
#8D8468
ΔE00 7.47
Medium Grey
#7D7F7C
ΔE00 8.32
Green Grey
#77926F
ΔE00 9.04
Grey
#929591
ΔE00 10.03
Gray
#808080
ΔE00 10.38
Taupe
#8B7D6B
ΔE00 10.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E8470 #767084
analogous
#848070 #7E8470 #748470
triadic
#7E8470 #707E84 #84707E
tetradic
#7E8470 #708480 #767084 #847074
square
#7E8470 #708480 #767084 #847074
split-complementary
#7E8470 #707484 #807084
monochromatic
#3F4238 #5E6354 #7E8470 #9CA190 #BABDB1
Accessibility & contrast
On white
3.87
#7E8470 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#7E8470 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E8470
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E8470 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E8470 | 1.00 | 3.87 | 5.42 | 5.42 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87826F
Deuteranopia (green-blind)
#868171
Tritanopia (blue-blind)
#80827E
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #7e8470; /* rgb */ color: rgb(126, 132, 112); /* oklch */ color: oklch(60.2% 0.030 120.9);
Tailwind
colors: {
custom: {
50: '#a3a799',
500: '#7e8470',
950: '#000000',
},
}SCSS
$custom: #7e8470; $custom-light: #a3a799; $custom-dark: #000000;
JSON
{
"hex": "#7e8470",
"rgb": {
"r": 126,
"g": 132,
"b": 112
},
"hsl": {
"h": 78,
"s": 8.197,
"l": 47.843
},
"oklch": {
"l": 0.60249,
"c": 0.03029,
"h": 120.9
},
"luminance": 0.22108
}Semantic roles & 50–950 ramp
primary
#7E8470
secondary
#A6A3AD
accent
#77B188
background
#FAFAF9
surface
#F3F4F2
border
#CDCECC
text
#0F0F0D
muted
#7F7F7E