#7E8D3E#7E8D3E
#7E8D3E is a mid, moderate yellow-green. Relative luminance 0.238; OKLCH L 61.4% C 0.106 H 118.6°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7E8D3E |
|---|---|
| RGB | rgb(126, 141, 62) |
| HSL | hsl(71, 39%, 40%) |
| HSV | hsv(71, 56%, 55%) |
| CMYK | cmyk(10.6%, 0%, 56%, 44.7%) |
| CIE-LAB | lab(55.92, -17.65, 39.69) |
| CIE-LCH | lch(55.92, 43.44, 113.98°) |
| OKLab | oklab(61.39% -0.0506 0.0929) |
| OKLCH | oklch(61.39% 0.106 118.6) |
| XYZ | xyz(18.9988, 23.8333, 8.1559) |
| Luminance | 0.2383 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 2.91
Khaki Green
#728639
ΔE00 3.24
Drab
#828344
ΔE00 5.12
Olivedrab
#6B8E23
ΔE00 5.17
Swamp
#698339
ΔE00 5.46
Moss Green
#8A9A5B
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E8D3E #4D3E8D
analogous
#8D743E #7E8D3E #578D3E
triadic
#7E8D3E #3E7E8D #8D3E7E
tetradic
#7E8D3E #3E8D74 #4D3E8D #8D3E57
square
#7E8D3E #3E8D74 #4D3E8D #8D3E57
split-complementary
#7E8D3E #3E578D #743E8D
monochromatic
#323819 #58622B #7E8D3E #A2B454 #B9C77F
Accessibility & contrast
On white
3.64
#7E8D3E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.77
#7E8D3E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E8D3E
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E8D3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E8D3E | 1.00 | 3.64 | 5.77 | 5.77 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958636
Deuteranopia (green-blind)
#948643
Tritanopia (blue-blind)
#85867B
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #7e8d3e; /* rgb */ color: rgb(126, 141, 62); /* oklch */ color: oklch(61.4% 0.106 118.6);
Tailwind
colors: {
custom: {
50: '#a5ae76',
500: '#7e8d3e',
950: '#000000',
},
}SCSS
$custom: #7e8d3e; $custom-light: #a5ae76; $custom-dark: #000000;
JSON
{
"hex": "#7e8d3e",
"rgb": {
"r": 126,
"g": 141,
"b": 62
},
"hsl": {
"h": 71.392,
"s": 38.916,
"l": 39.804
},
"oklch": {
"l": 0.6139,
"c": 0.10583,
"h": 118.6
},
"luminance": 0.23833
}Semantic roles & 50–950 ramp
primary
#7E8D3E
secondary
#8176B1
accent
#59CF6F
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1009
muted
#7F7F7B