#786C71#786C71
#786C71 is a mid, near-neutral grey. Relative luminance 0.159; OKLCH L 54.4% C 0.017 H 350.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #786C71 |
|---|---|
| RGB | rgb(120, 108, 113) |
| HSL | hsl(335, 5%, 45%) |
| HSV | hsv(335, 10%, 47%) |
| CMYK | cmyk(0%, 10%, 5.8%, 52.9%) |
| CIE-LAB | lab(46.86, 5.65, -1.07) |
| CIE-LCH | lch(46.86, 5.75, 349.26°) |
| OKLab | oklab(54.4% 0.0165 -0.0028) |
| OKLCH | oklch(54.4% 0.017 350.5) |
| XYZ | xyz(16.0886, 15.9107, 17.8431) |
| Luminance | 0.1591 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dimgray
#696969
ΔE00 7.54
Purplish Grey
#7A687F
ΔE00 8.10
Purple Grey
#866F85
ΔE00 8.71
Gray
#808080
ΔE00 9.83
Grey Purple
#826D8C
ΔE00 10.93
Reddish Grey
#997570
ΔE00 11.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#786C71 #6C7873
analogous
#786C77 #786C71 #786D6C
triadic
#786C71 #71786C #6C7178
tetradic
#786C71 #77786C #6C7873 #6D6C78
square
#786C71 #77786C #6C7873 #6D6C78
split-complementary
#786C71 #6C786D #6C7778
monochromatic
#383234 #584F53 #786C71 #968B90 #B3ABAF
Accessibility & contrast
On white
5.02
#786C71 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#786C71 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #786C71
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##786C71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##786C71 | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D6E71
Deuteranopia (green-blind)
#6F7071
Tritanopia (blue-blind)
#7A6C6E
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #786c71; /* rgb */ color: rgb(120, 108, 113); /* oklch */ color: oklch(54.4% 0.017 350.5);
Tailwind
colors: {
custom: {
50: '#9f9699',
500: '#786c71',
950: '#000000',
},
}SCSS
$custom: #786c71; $custom-light: #9f9699; $custom-dark: #000000;
JSON
{
"hex": "#786c71",
"rgb": {
"r": 120,
"g": 108,
"b": 113
},
"hsl": {
"h": 335,
"s": 5.263,
"l": 44.706
},
"oklch": {
"l": 0.54401,
"c": 0.01676,
"h": 350.5
},
"luminance": 0.1591
}Semantic roles & 50–950 ramp
primary
#786C71
secondary
#9CA3A0
accent
#AE9879
background
#F9F9F9
surface
#F2F1F2
border
#CCCBCC
text
#0E0D0E
muted
#7E7E7E