#7E7A5F#7E7A5F
#7E7A5F is a mid, muted yellow. Relative luminance 0.192; OKLCH L 57.6% C 0.040 H 100.5°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7A5F |
|---|---|
| RGB | rgb(126, 122, 95) |
| HSL | hsl(52, 14%, 43%) |
| HSV | hsv(52, 25%, 49%) |
| CMYK | cmyk(0%, 3.2%, 24.6%, 50.6%) |
| CIE-LAB | lab(50.90, -3.21, 15.37) |
| CIE-LCH | lch(50.90, 15.70, 101.79°) |
| OKLab | oklab(57.56% -0.0072 0.0391) |
| OKLCH | oklch(57.56% 0.04 100.5) |
| XYZ | xyz(17.6293, 19.1812, 13.5979) |
| Luminance | 0.1918 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Grey
#8D8468
ΔE00 4.85
Brownish Grey
#86775F
ΔE00 6.16
Grey Brown
#7F7053
ΔE00 6.30
Taupe
#8B7D6B
ΔE00 7.61
Greyish Brown
#7A6A4F
ΔE00 8.21
Drab
#828344
ΔE00 9.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7A5F #5F637E
analogous
#7E6A5F #7E7A5F #727E5F
triadic
#7E7A5F #5F7E7A #7A5F7E
tetradic
#7E7A5F #5F7E6A #5F637E #7E5F72
square
#7E7A5F #5F7E6A #5F637E #7E5F72
split-complementary
#7E7A5F #5F727E #6A5F7E
monochromatic
#38362A #5B5845 #7E7A5F #9D997D #B7B4A0
Accessibility & contrast
On white
4.34
#7E7A5F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#7E7A5F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7A5F
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7A5F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7A5F | 1.00 | 4.34 | 4.84 | 4.84 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F785D
Deuteranopia (green-blind)
#817A60
Tritanopia (blue-blind)
#837673
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7e7a5f; /* rgb */ color: rgb(126, 122, 95); /* oklch */ color: oklch(57.6% 0.040 100.5);
Tailwind
colors: {
custom: {
50: '#a3a08c',
500: '#7e7a5f',
950: '#000000',
},
}SCSS
$custom: #7e7a5f; $custom-light: #a3a08c; $custom-dark: #000000;
JSON
{
"hex": "#7e7a5f",
"rgb": {
"r": 126,
"g": 122,
"b": 95
},
"hsl": {
"h": 52.258,
"s": 14.027,
"l": 43.333
},
"oklch": {
"l": 0.57559,
"c": 0.03974,
"h": 100.5
},
"luminance": 0.19181
}Semantic roles & 50–950 ramp
primary
#7E7A5F
secondary
#9395A6
accent
#7AB771
background
#FAF9F8
surface
#F4F2F0
border
#CECCCB
text
#0F0E0C
muted
#7F7E7D