#7E894E#7E894E
#7E894E is a mid, moderate yellow-green. Relative luminance 0.229; OKLCH L 60.7% C 0.083 H 117.6°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #7E894E |
|---|---|
| RGB | rgb(126, 137, 78) |
| HSL | hsl(71, 27%, 42%) |
| HSV | hsv(71, 43%, 54%) |
| CMYK | cmyk(8%, 0%, 43.1%, 46.3%) |
| CIE-LAB | lab(54.95, -13.83, 30.24) |
| CIE-LCH | lch(54.95, 33.26, 114.58°) |
| OKLab | oklab(60.68% -0.0383 0.0734) |
| OKLCH | oklch(60.68% 0.083 117.6) |
| XYZ | xyz(18.9251, 22.8771, 10.6250) |
| Luminance | 0.2288 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 2.37
Drab
#828344
ΔE00 3.74
Khaki Green
#728639
ΔE00 4.28
Swamp
#698339
ΔE00 5.59
Moss Green
#8A9A5B
ΔE00 5.68
Drab Green
#749551
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E894E #594E89
analogous
#89774E #7E894E #61894E
triadic
#7E894E #4E7E89 #894E7E
tetradic
#7E894E #4E8977 #594E89 #894E61
square
#7E894E #4E8977 #594E89 #894E61
split-complementary
#7E894E #4E6189 #774E89
monochromatic
#363B22 #5A6238 #7E894E #9EAA6A #B8C091
Accessibility & contrast
On white
3.77
#7E894E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#7E894E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E894E
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E894E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E894E | 1.00 | 3.77 | 5.58 | 5.58 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#908349
Deuteranopia (green-blind)
#8F8451
Tritanopia (blue-blind)
#84837B
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #7e894e; /* rgb */ color: rgb(126, 137, 78); /* oklch */ color: oklch(60.7% 0.083 117.6);
Tailwind
colors: {
custom: {
50: '#a4ab80',
500: '#7e894e',
950: '#000000',
},
}SCSS
$custom: #7e894e; $custom-light: #a4ab80; $custom-dark: #000000;
JSON
{
"hex": "#7e894e",
"rgb": {
"r": 126,
"g": 137,
"b": 78
},
"hsl": {
"h": 71.186,
"s": 27.442,
"l": 42.157
},
"oklch": {
"l": 0.60676,
"c": 0.08282,
"h": 117.6
},
"luminance": 0.22877
}Semantic roles & 50–950 ramp
primary
#7E894E
secondary
#8D86AD
accent
#64C476
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F100A
muted
#7F7F7C