#7E8A41#7E8A41
#7E8A41 is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 60.7% C 0.099 H 117.2°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7E8A41 |
|---|---|
| RGB | rgb(126, 138, 65) |
| HSL | hsl(70, 36%, 40%) |
| HSV | hsv(70, 53%, 54%) |
| CMYK | cmyk(8.7%, 0%, 52.9%, 45.9%) |
| CIE-LAB | lab(55.07, -15.79, 37.20) |
| CIE-LCH | lch(55.07, 40.41, 113.00°) |
| OKLab | oklab(60.72% -0.0451 0.0878) |
| OKLCH | oklch(60.72% 0.099 117.2) |
| XYZ | xyz(18.6470, 22.9944, 8.4560) |
| Luminance | 0.2299 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Camo
#7F8F4E
ΔE00 2.74
Khaki Green
#728639
ΔE00 2.95
Drab
#828344
ΔE00 3.83
Swamp
#698339
ΔE00 5.12
Moss Green
#8A9A5B
ΔE00 6.04
Olivedrab
#6B8E23
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E8A41 #4D418A
analogous
#8A7241 #7E8A41 #5A8A41
triadic
#7E8A41 #417E8A #8A417E
tetradic
#7E8A41 #418A72 #4D418A #8A415A
square
#7E8A41 #418A72 #4D418A #8A415A
split-complementary
#7E8A41 #415A8A #72418A
monochromatic
#32371A #58602D #7E8A41 #A2B058 #B9C482
Accessibility & contrast
On white
3.75
#7E8A41 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.60
#7E8A41 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E8A41
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E8A41 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E8A41 | 1.00 | 3.75 | 5.60 | 5.60 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92843A
Deuteranopia (green-blind)
#918445
Tritanopia (blue-blind)
#858379
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #7e8a41; /* rgb */ color: rgb(126, 138, 65); /* oklch */ color: oklch(60.7% 0.099 117.2);
Tailwind
colors: {
custom: {
50: '#a5ac78',
500: '#7e8a41',
950: '#000000',
},
}SCSS
$custom: #7e8a41; $custom-light: #a5ac78; $custom-dark: #000000;
JSON
{
"hex": "#7e8a41",
"rgb": {
"r": 126,
"g": 138,
"b": 65
},
"hsl": {
"h": 69.863,
"s": 35.961,
"l": 39.804
},
"oklch": {
"l": 0.60716,
"c": 0.09873,
"h": 117.2
},
"luminance": 0.22994
}Semantic roles & 50–950 ramp
primary
#7E8A41
secondary
#8178AE
accent
#5CCC6E
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1009
muted
#7F7F7B