#7E8A4E#7E8A4E
#7E8A4E is a mid, moderate yellow-green. Relative luminance 0.232; OKLCH L 60.9% C 0.084 H 118.2°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #7E8A4E |
|---|---|
| RGB | rgb(126, 138, 78) |
| HSL | hsl(72, 28%, 42%) |
| HSV | hsv(72, 43%, 54%) |
| CMYK | cmyk(8.7%, 0%, 43.5%, 45.9%) |
| CIE-LAB | lab(55.24, -14.37, 30.61) |
| CIE-LCH | lch(55.24, 33.82, 115.14°) |
| OKLab | oklab(60.91% -0.0399 0.0743) |
| OKLCH | oklch(60.91% 0.084 118.2) |
| XYZ | xyz(19.0679, 23.1628, 10.6726) |
| Luminance | 0.2316 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 1.95
Drab
#828344
ΔE00 4.04
Khaki Green
#728639
ΔE00 4.18
Moss Green
#8A9A5B
ΔE00 5.34
Swamp
#698339
ΔE00 5.54
Drab Green
#749551
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E8A4E #5A4E8A
analogous
#8A784E #7E8A4E #608A4E
triadic
#7E8A4E #4E7E8A #8A4E7E
tetradic
#7E8A4E #4E8A78 #5A4E8A #8A4E60
square
#7E8A4E #4E8A78 #5A4E8A #8A4E60
split-complementary
#7E8A4E #4E608A #784E8A
monochromatic
#373C22 #5A6338 #7E8A4E #9EAB6A #B8C191
Accessibility & contrast
On white
3.73
#7E8A4E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.63
#7E8A4E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E8A4E
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E8A4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E8A4E | 1.00 | 3.73 | 5.63 | 5.63 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918449
Deuteranopia (green-blind)
#908551
Tritanopia (blue-blind)
#83847C
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #7e8a4e; /* rgb */ color: rgb(126, 138, 78); /* oklch */ color: oklch(60.9% 0.084 118.2);
Tailwind
colors: {
custom: {
50: '#a4ac80',
500: '#7e8a4e',
950: '#000000',
},
}SCSS
$custom: #7e8a4e; $custom-light: #a4ac80; $custom-dark: #000000;
JSON
{
"hex": "#7e8a4e",
"rgb": {
"r": 126,
"g": 138,
"b": 78
},
"hsl": {
"h": 72,
"s": 27.778,
"l": 42.353
},
"oklch": {
"l": 0.60911,
"c": 0.08428,
"h": 118.2
},
"luminance": 0.23163
}Semantic roles & 50–950 ramp
primary
#7E8A4E
secondary
#8E86AE
accent
#64C477
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F100A
muted
#7F7F7C