#7E8D3F#7E8D3F
#7E8D3F is a mid, moderate yellow-green. Relative luminance 0.238; OKLCH L 61.4% C 0.105 H 118.7°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7E8D3F |
|---|---|
| RGB | rgb(126, 141, 63) |
| HSL | hsl(72, 38%, 40%) |
| HSV | hsv(72, 55%, 55%) |
| CMYK | cmyk(10.6%, 0%, 55.3%, 44.7%) |
| CIE-LAB | lab(55.93, -17.56, 39.21) |
| CIE-LCH | lch(55.93, 42.97, 114.12°) |
| OKLab | oklab(61.4% -0.0503 0.092) |
| OKLCH | oklch(61.4% 0.105 118.7) |
| XYZ | xyz(19.0265, 23.8444, 8.3018) |
| Luminance | 0.2384 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 2.74
Khaki Green
#728639
ΔE00 3.22
Drab
#828344
ΔE00 5.07
Olivedrab
#6B8E23
ΔE00 5.26
Swamp
#698339
ΔE00 5.42
Moss Green
#8A9A5B
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E8D3F #4E3F8D
analogous
#8D753F #7E8D3F #578D3F
triadic
#7E8D3F #3F7E8D #8D3F7E
tetradic
#7E8D3F #3F8D75 #4E3F8D #8D3F57
square
#7E8D3F #3F8D75 #4E3F8D #8D3F57
split-complementary
#7E8D3F #3F578D #753F8D
monochromatic
#323819 #58632C #7E8D3F #A1B356 #B9C680
Accessibility & contrast
On white
3.64
#7E8D3F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.77
#7E8D3F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E8D3F
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E8D3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E8D3F | 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)
#958637
Deuteranopia (green-blind)
#948644
Tritanopia (blue-blind)
#84867C
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #7e8d3f; /* rgb */ color: rgb(126, 141, 63); /* oklch */ color: oklch(61.4% 0.105 118.7);
Tailwind
colors: {
custom: {
50: '#a5ae77',
500: '#7e8d3f',
950: '#000000',
},
}SCSS
$custom: #7e8d3f; $custom-light: #a5ae77; $custom-dark: #000000;
JSON
{
"hex": "#7e8d3f",
"rgb": {
"r": 126,
"g": 141,
"b": 63
},
"hsl": {
"h": 71.538,
"s": 38.235,
"l": 40
},
"oklch": {
"l": 0.61402,
"c": 0.10484,
"h": 118.7
},
"luminance": 0.23844
}Semantic roles & 50–950 ramp
primary
#7E8D3F
secondary
#8277B1
accent
#5ACE70
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1009
muted
#7F7F7B