#7E8D4E#7E8D4E
#7E8D4E is a mid, moderate yellow-green. Relative luminance 0.240; OKLCH L 61.6% C 0.089 H 120.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7E8D4E |
|---|---|
| RGB | rgb(126, 141, 78) |
| HSL | hsl(74, 29%, 43%) |
| HSV | hsv(74, 45%, 55%) |
| CMYK | cmyk(10.6%, 0%, 44.7%, 44.7%) |
| CIE-LAB | lab(56.12, -15.96, 31.72) |
| CIE-LCH | lch(56.12, 35.51, 116.71°) |
| OKLab | oklab(61.62% -0.0444 0.0767) |
| OKLCH | oklch(61.62% 0.089 120) |
| XYZ | xyz(19.5043, 24.0355, 10.8181) |
| Luminance | 0.2404 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 0.74
Khaki Green
#728639
ΔE00 4.15
Moss Green
#8A9A5B
ΔE00 4.41
Drab Green
#749551
ΔE00 4.57
Drab
#828344
ΔE00 5.02
Swamp
#698339
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E8D4E #5D4E8D
analogous
#8D7C4E #7E8D4E #5E8D4E
triadic
#7E8D4E #4E7E8D #8D4E7E
tetradic
#7E8D4E #4E8D7C #5D4E8D #8D4E5E
square
#7E8D4E #4E8D7C #5D4E8D #8D4E5E
split-complementary
#7E8D4E #4E5E8D #7C4E8D
monochromatic
#383E22 #5B6638 #7E8D4E #9DAD6B #B7C392
Accessibility & contrast
On white
3.62
#7E8D4E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.81
#7E8D4E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E8D4E
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E8D4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E8D4E | 1.00 | 3.62 | 5.81 | 5.81 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948749
Deuteranopia (green-blind)
#928751
Tritanopia (blue-blind)
#83877E
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #7e8d4e; /* rgb */ color: rgb(126, 141, 78); /* oklch */ color: oklch(61.6% 0.089 120.0);
Tailwind
colors: {
custom: {
50: '#a4ae81',
500: '#7e8d4e',
950: '#000000',
},
}SCSS
$custom: #7e8d4e; $custom-light: #a4ae81; $custom-dark: #000000;
JSON
{
"hex": "#7e8d4e",
"rgb": {
"r": 126,
"g": 141,
"b": 78
},
"hsl": {
"h": 74.286,
"s": 28.767,
"l": 42.941
},
"oklch": {
"l": 0.61618,
"c": 0.08864,
"h": 120
},
"luminance": 0.24035
}Semantic roles & 50–950 ramp
primary
#7E8D4E
secondary
#9187AF
accent
#63C57A
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F100A
muted
#7F7F7C