#786E71#786E71
#786E71 is a mid, near-neutral grey. Relative luminance 0.163; OKLCH L 54.8% C 0.013 H 357.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #786E71 |
|---|---|
| RGB | rgb(120, 110, 113) |
| HSL | hsl(342, 4%, 45%) |
| HSV | hsv(342, 8%, 47%) |
| CMYK | cmyk(0%, 8.3%, 5.8%, 52.9%) |
| CIE-LAB | lab(47.41, 4.47, -0.26) |
| CIE-LCH | lch(47.41, 4.47, 356.71°) |
| OKLab | oklab(54.84% 0.0132 -0.0006) |
| OKLCH | oklch(54.84% 0.013 357.4) |
| XYZ | xyz(16.3019, 16.3374, 17.9142) |
| Luminance | 0.1634 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dimgray
#696969
ΔE00 6.50
Gray
#808080
ΔE00 8.48
Purplish Grey
#7A687F
ΔE00 9.48
Purple Grey
#866F85
ΔE00 9.92
Medium Grey
#7D7F7C
ΔE00 9.95
Reddish Grey
#997570
ΔE00 11.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#786E71 #6E7875
analogous
#786E76 #786E71 #78706E
triadic
#786E71 #71786E #6E7178
tetradic
#786E71 #76786E #6E7875 #706E78
square
#786E71 #76786E #6E7875 #706E78
split-complementary
#786E71 #6E7870 #6E7678
monochromatic
#383335 #585153 #786E71 #968D90 #B4ADAF
Accessibility & contrast
On white
4.92
#786E71 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#786E71 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #786E71
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##786E71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##786E71 | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F7071
Deuteranopia (green-blind)
#717171
Tritanopia (blue-blind)
#7A6E6F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #786e71; /* rgb */ color: rgb(120, 110, 113); /* oklch */ color: oklch(54.8% 0.013 357.4);
Tailwind
colors: {
custom: {
50: '#9f9799',
500: '#786e71',
950: '#000000',
},
}SCSS
$custom: #786e71; $custom-light: #9f9799; $custom-dark: #000000;
JSON
{
"hex": "#786e71",
"rgb": {
"r": 120,
"g": 110,
"b": 113
},
"hsl": {
"h": 342,
"s": 4.348,
"l": 45.098
},
"oklch": {
"l": 0.54836,
"c": 0.01324,
"h": 357.4
},
"luminance": 0.16337
}Semantic roles & 50–950 ramp
primary
#786E71
secondary
#9EA4A2
accent
#AE9E7A
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0D0E
muted
#7E7E7E