#786E79#786E79
#786E79 is a mid, muted grey. Relative luminance 0.165; OKLCH L 55.1% C 0.021 H 323.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #786E79 |
|---|---|
| RGB | rgb(120, 110, 121) |
| HSL | hsl(295, 5%, 45%) |
| HSV | hsv(295, 9%, 47%) |
| CMYK | cmyk(0.8%, 9.1%, 0%, 52.5%) |
| CIE-LAB | lab(47.66, 6.07, -4.67) |
| CIE-LCH | lch(47.66, 7.66, 322.39°) |
| OKLab | oklab(55.11% 0.0165 -0.0124) |
| OKLCH | oklch(55.11% 0.021 323.1) |
| XYZ | xyz(16.7723, 16.5256, 20.3916) |
| Luminance | 0.1653 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Purplish Grey
#7A687F
ΔE00 6.01
Purple Grey
#866F85
ΔE00 6.85
Grey Purple
#826D8C
ΔE00 8.59
Dimgray
#696969
ΔE00 8.88
Greyish Purple
#887191
ΔE00 9.46
Purpley Grey
#947E94
ΔE00 9.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#786E79 #6F796E
analogous
#726E79 #786E79 #796E74
triadic
#786E79 #79786E #6E7978
tetradic
#786E79 #79726E #6F796E #6E7479
square
#786E79 #79726E #6F796E #6E7479
split-complementary
#786E79 #74796E #6E7972
monochromatic
#383439 #585159 #786E79 #968D97 #B4ADB4
Accessibility & contrast
On white
4.88
#786E79 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#786E79 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #786E79
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##786E79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##786E79 | 1.00 | 4.88 | 4.31 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D707A
Deuteranopia (green-blind)
#6F7179
Tritanopia (blue-blind)
#796F72
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #786e79; /* rgb */ color: rgb(120, 110, 121); /* oklch */ color: oklch(55.1% 0.021 323.1);
Tailwind
colors: {
custom: {
50: '#9f979f',
500: '#786e79',
950: '#000000',
},
}SCSS
$custom: #786e79; $custom-light: #9f979f; $custom-dark: #000000;
JSON
{
"hex": "#786e79",
"rgb": {
"r": 120,
"g": 110,
"b": 121
},
"hsl": {
"h": 294.545,
"s": 4.762,
"l": 45.294
},
"oklch": {
"l": 0.55106,
"c": 0.02068,
"h": 323.1
},
"luminance": 0.16525
}Semantic roles & 50–950 ramp
primary
#786E79
secondary
#9FA59E
accent
#AE7A7F
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0D0E
muted
#7E7E7E