#7E786E#7E786E
#7E786E is a mid, near-neutral grey. Relative luminance 0.190; OKLCH L 57.5% C 0.017 H 80.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #7E786E |
|---|---|
| RGB | rgb(126, 120, 110) |
| HSL | hsl(38, 7%, 46%) |
| HSV | hsv(38, 13%, 49%) |
| CMYK | cmyk(0%, 4.8%, 12.7%, 50.6%) |
| CIE-LAB | lab(50.68, 0.43, 6.31) |
| CIE-LCH | lch(50.68, 6.33, 86.10°) |
| OKLab | oklab(57.5% 0.0027 0.0165) |
| OKLCH | oklch(57.5% 0.017 80.7) |
| XYZ | xyz(18.1349, 18.9946, 17.4598) |
| Luminance | 0.1899 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Taupe
#8B7D6B
ΔE00 5.07
Medium Grey
#7D7F7C
ΔE00 5.48
Brownish Grey
#86775F
ΔE00 6.23
Gray
#808080
ΔE00 6.25
Grey Brown
#7F7053
ΔE00 8.22
Dimgray
#696969
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E786E #6E747E
analogous
#7E706E #7E786E #7C7E6E
triadic
#7E786E #6E7E78 #786E7E
tetradic
#7E786E #6E7E70 #6E747E #7E6E7C
square
#7E786E #6E7E70 #6E747E #7E6E7C
split-complementary
#7E786E #6E7C7E #706E7E
monochromatic
#3D3A35 #5D5951 #7E786E #9C968D #B8B4AE
Accessibility & contrast
On white
4.38
#7E786E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#7E786E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E786E
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E786E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E786E | 1.00 | 4.38 | 4.80 | 4.80 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B786D
Deuteranopia (green-blind)
#7C796E
Tritanopia (blue-blind)
#817675
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7e786e; /* rgb */ color: rgb(126, 120, 110); /* oklch */ color: oklch(57.5% 0.017 80.7);
Tailwind
colors: {
custom: {
50: '#a39e97',
500: '#7e786e',
950: '#000000',
},
}SCSS
$custom: #7e786e; $custom-light: #a39e97; $custom-dark: #000000;
JSON
{
"hex": "#7e786e",
"rgb": {
"r": 126,
"g": 120,
"b": 110
},
"hsl": {
"h": 37.5,
"s": 6.78,
"l": 46.275
},
"oklch": {
"l": 0.57502,
"c": 0.0167,
"h": 80.7
},
"luminance": 0.18994
}Semantic roles & 50–950 ramp
primary
#7E786E
secondary
#A0A3A8
accent
#8DB078
background
#FAF9F9
surface
#F3F2F2
border
#CDCCCC
text
#0F0E0D
muted
#7F7E7E