#7E7A5E#7E7A5E
#7E7A5E is a mid, muted yellow. Relative luminance 0.192; OKLCH L 57.5% C 0.041 H 100.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7A5E |
|---|---|
| RGB | rgb(126, 122, 94) |
| HSL | hsl(53, 15%, 43%) |
| HSV | hsv(53, 25%, 49%) |
| CMYK | cmyk(0%, 3.2%, 25.4%, 50.6%) |
| CIE-LAB | lab(50.88, -3.36, 15.92) |
| CIE-LCH | lch(50.88, 16.27, 101.92°) |
| OKLab | oklab(57.54% -0.0077 0.0404) |
| OKLCH | oklch(57.54% 0.041 100.8) |
| XYZ | xyz(17.5841, 19.1632, 13.3600) |
| Luminance | 0.1916 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Grey
#8D8468
ΔE00 4.90
Brownish Grey
#86775F
ΔE00 6.29
Grey Brown
#7F7053
ΔE00 6.32
Taupe
#8B7D6B
ΔE00 7.84
Greyish Brown
#7A6A4F
ΔE00 8.25
Drab
#828344
ΔE00 9.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7A5E #5E627E
analogous
#7E6A5E #7E7A5E #727E5E
triadic
#7E7A5E #5E7E7A #7A5E7E
tetradic
#7E7A5E #5E7E6A #5E627E #7E5E72
square
#7E7A5E #5E7E6A #5E627E #7E5E72
split-complementary
#7E7A5E #5E727E #6A5E7E
monochromatic
#38362A #5B5844 #7E7A5E #9D997C #B7B49F
Accessibility & contrast
On white
4.35
#7E7A5E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#7E7A5E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7A5E
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7A5E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7A5E | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F785C
Deuteranopia (green-blind)
#817A5F
Tritanopia (blue-blind)
#837672
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7e7a5e; /* rgb */ color: rgb(126, 122, 94); /* oklch */ color: oklch(57.5% 0.041 100.8);
Tailwind
colors: {
custom: {
50: '#a3a08b',
500: '#7e7a5e',
950: '#000000',
},
}SCSS
$custom: #7e7a5e; $custom-light: #a3a08b; $custom-dark: #000000;
JSON
{
"hex": "#7e7a5e",
"rgb": {
"r": 126,
"g": 122,
"b": 94
},
"hsl": {
"h": 52.5,
"s": 14.545,
"l": 43.137
},
"oklch": {
"l": 0.57535,
"c": 0.04113,
"h": 100.8
},
"luminance": 0.19163
}Semantic roles & 50–950 ramp
primary
#7E7A5E
secondary
#9294A6
accent
#79B770
background
#FAF9F8
surface
#F4F2F0
border
#CECCCB
text
#0F0E0C
muted
#7F7E7D