#787E6C#787E6C
#787E6C is a mid, muted grey. Relative luminance 0.200; OKLCH L 58.3% C 0.028 H 122.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #787E6C |
|---|---|
| RGB | rgb(120, 126, 108) |
| HSL | hsl(80, 8%, 46%) |
| HSV | hsv(80, 14%, 49%) |
| CMYK | cmyk(4.8%, 0%, 14.3%, 50.6%) |
| CIE-LAB | lab(51.83, -5.72, 9.05) |
| CIE-LCH | lch(51.83, 10.71, 122.30°) |
| OKLab | oklab(58.27% -0.0148 0.0234) |
| OKLCH | oklch(58.27% 0.028 122.3) |
| XYZ | xyz(17.9130, 19.9975, 17.1007) |
| Luminance | 0.2000 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Medium Grey
#7D7F7C
ΔE00 7.66
Brown Grey
#8D8468
ΔE00 8.32
Gray
#808080
ΔE00 9.88
Green Grey
#77926F
ΔE00 10.46
Taupe
#8B7D6B
ΔE00 10.65
Brownish Grey
#86775F
ΔE00 10.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787E6C #726C7E
analogous
#7E7B6C #787E6C #6F7E6C
triadic
#787E6C #6C787E #7E6C78
tetradic
#787E6C #6C7E7B #726C7E #7E6C6F
square
#787E6C #6C7E7B #726C7E #7E6C6F
split-complementary
#787E6C #6C6F7E #7B6C7E
monochromatic
#393C34 #595D50 #787E6C #969C8B #B4B8AC
Accessibility & contrast
On white
4.20
#787E6C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#787E6C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787E6C
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787E6C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787E6C | 1.00 | 4.20 | 5.00 | 5.00 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807C6B
Deuteranopia (green-blind)
#807C6D
Tritanopia (blue-blind)
#7A7C79
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #787e6c; /* rgb */ color: rgb(120, 126, 108); /* oklch */ color: oklch(58.3% 0.028 122.3);
Tailwind
colors: {
custom: {
50: '#9fa396',
500: '#787e6c',
950: '#000000',
},
}SCSS
$custom: #787e6c; $custom-light: #9fa396; $custom-dark: #000000;
JSON
{
"hex": "#787e6c",
"rgb": {
"r": 120,
"g": 126,
"b": 108
},
"hsl": {
"h": 80,
"s": 7.692,
"l": 45.882
},
"oklch": {
"l": 0.58271,
"c": 0.0277,
"h": 122.3
},
"luminance": 0.19997
}Semantic roles & 50–950 ramp
primary
#787E6C
secondary
#A19EA8
accent
#77B18A
background
#F9FAF9
surface
#F2F3F1
border
#CCCDCB
text
#0E0F0D
muted
#7E7F7E