#7E8A3E#7E8A3E
#7E8A3E is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 60.7% C 0.102 H 117.0°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #7E8A3E |
|---|---|
| RGB | rgb(126, 138, 62) |
| HSL | hsl(69, 38%, 39%) |
| HSV | hsv(69, 55%, 54%) |
| CMYK | cmyk(8.7%, 0%, 55.1%, 45.9%) |
| CIE-LAB | lab(55.03, -16.08, 38.66) |
| CIE-LCH | lch(55.03, 41.88, 112.58°) |
| OKLab | oklab(60.68% -0.0462 0.0907) |
| OKLCH | oklch(60.68% 0.102 117) |
| XYZ | xyz(18.5624, 22.9606, 8.0105) |
| Luminance | 0.2296 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki Green
#728639
ΔE00 2.94
Camo
#7F8F4E
ΔE00 3.18
Drab
#828344
ΔE00 4.00
Swamp
#698339
ΔE00 5.22
Olivedrab
#6B8E23
ΔE00 5.85
Moss Green (survey)
#658B38
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E8A3E #4A3E8A
analogous
#8A703E #7E8A3E #588A3E
triadic
#7E8A3E #3E7E8A #8A3E7E
tetradic
#7E8A3E #3E8A70 #4A3E8A #8A3E58
square
#7E8A3E #3E8A70 #4A3E8A #8A3E58
split-complementary
#7E8A3E #3E588A #703E8A
monochromatic
#313618 #57602B #7E8A3E #A3B253 #BAC57E
Accessibility & contrast
On white
3.76
#7E8A3E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.59
#7E8A3E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E8A3E
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E8A3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E8A3E | 1.00 | 3.76 | 5.59 | 5.59 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928337
Deuteranopia (green-blind)
#918442
Tritanopia (blue-blind)
#858379
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #7e8a3e; /* rgb */ color: rgb(126, 138, 62); /* oklch */ color: oklch(60.7% 0.102 117.0);
Tailwind
colors: {
custom: {
50: '#a5ac76',
500: '#7e8a3e',
950: '#000000',
},
}SCSS
$custom: #7e8a3e; $custom-light: #a5ac76; $custom-dark: #000000;
JSON
{
"hex": "#7e8a3e",
"rgb": {
"r": 126,
"g": 138,
"b": 62
},
"hsl": {
"h": 69.474,
"s": 38,
"l": 39.216
},
"oklch": {
"l": 0.60677,
"c": 0.1018,
"h": 117
},
"luminance": 0.2296
}Semantic roles & 50–950 ramp
primary
#7E8A3E
secondary
#7E75AF
accent
#5ACE6C
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B