#786E77#786E77
#786E77 is a mid, near-neutral grey. Relative luminance 0.165; OKLCH L 55.0% C 0.018 H 329.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #786E77 |
|---|---|
| RGB | rgb(120, 110, 119) |
| HSL | hsl(306, 4%, 45%) |
| HSV | hsv(306, 8%, 47%) |
| CMYK | cmyk(0%, 8.3%, 0.8%, 52.9%) |
| CIE-LAB | lab(47.59, 5.66, -3.57) |
| CIE-LCH | lch(47.59, 6.69, 327.73°) |
| OKLab | oklab(55.04% 0.0157 -0.0095) |
| OKLCH | oklch(55.04% 0.018 329) |
| XYZ | xyz(16.6510, 16.4770, 19.7524) |
| Luminance | 0.1648 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Purplish Grey
#7A687F
ΔE00 6.79
Purple Grey
#866F85
ΔE00 7.51
Dimgray
#696969
ΔE00 8.22
Grey Purple
#826D8C
ΔE00 9.42
Gray
#808080
ΔE00 9.70
Greyish Purple
#887191
ΔE00 10.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#786E77 #6E786F
analogous
#746E78 #786E77 #786E72
triadic
#786E77 #77786E #6E7778
tetradic
#786E77 #78746E #6E786F #6E7278
square
#786E77 #78746E #6E786F #6E7278
split-complementary
#786E77 #72786E #6E7874
monochromatic
#383338 #585157 #786E77 #968D95 #B4ADB3
Accessibility & contrast
On white
4.89
#786E77 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#786E77 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #786E77
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##786E77 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##786E77 | 1.00 | 4.89 | 4.30 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E7077
Deuteranopia (green-blind)
#707177
Tritanopia (blue-blind)
#796F71
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #786e77; /* rgb */ color: rgb(120, 110, 119); /* oklch */ color: oklch(55.0% 0.018 329.0);
Tailwind
colors: {
custom: {
50: '#9f979e',
500: '#786e77',
950: '#000000',
},
}SCSS
$custom: #786e77; $custom-light: #9f979e; $custom-dark: #000000;
JSON
{
"hex": "#786e77",
"rgb": {
"r": 120,
"g": 110,
"b": 119
},
"hsl": {
"h": 306,
"s": 4.348,
"l": 45.098
},
"oklch": {
"l": 0.55037,
"c": 0.01835,
"h": 329
},
"luminance": 0.16477
}Semantic roles & 50–950 ramp
primary
#786E77
secondary
#9EA49F
accent
#AE7F7A
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0D0E
muted
#7E7E7E