#787A6C#787A6C
#787A6C is a mid, muted grey. Relative luminance 0.190; OKLCH L 57.4% C 0.021 H 113.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #787A6C |
|---|---|
| RGB | rgb(120, 122, 108) |
| HSL | hsl(69, 6%, 45%) |
| HSV | hsv(69, 11%, 48%) |
| CMYK | cmyk(1.6%, 0%, 11.5%, 52.2%) |
| CIE-LAB | lab(50.68, -3.45, 7.41) |
| CIE-LCH | lch(50.68, 8.18, 114.96°) |
| OKLab | oklab(57.36% -0.0084 0.0193) |
| OKLCH | oklch(57.36% 0.021 113.7) |
| XYZ | xyz(17.4117, 18.9949, 16.9336) |
| Luminance | 0.1900 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Medium Grey
#7D7F7C
ΔE00 5.91
Gray
#808080
ΔE00 8.04
Brown Grey
#8D8468
ΔE00 8.18
Taupe
#8B7D6B
ΔE00 8.71
Brownish Grey
#86775F
ΔE00 8.90
Dimgray
#696969
ΔE00 9.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787A6C #6E6C7A
analogous
#7A756C #787A6C #717A6C
triadic
#787A6C #6C787A #7A6C78
tetradic
#787A6C #6C7A75 #6E6C7A #7A6C71
square
#787A6C #6C7A75 #6E6C7A #7A6C71
split-complementary
#787A6C #6C717A #756C7A
monochromatic
#383933 #585A4F #787A6C #96988B #B4B5AB
Accessibility & contrast
On white
4.38
#787A6C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#787A6C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787A6C
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787A6C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787A6C | 1.00 | 4.38 | 4.80 | 4.80 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C786B
Deuteranopia (green-blind)
#7C796C
Tritanopia (blue-blind)
#7A7876
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #787a6c; /* rgb */ color: rgb(120, 122, 108); /* oklch */ color: oklch(57.4% 0.021 113.7);
Tailwind
colors: {
custom: {
50: '#9fa096',
500: '#787a6c',
950: '#000000',
},
}SCSS
$custom: #787a6c; $custom-light: #9fa096; $custom-dark: #000000;
JSON
{
"hex": "#787a6c",
"rgb": {
"r": 120,
"g": 122,
"b": 108
},
"hsl": {
"h": 68.571,
"s": 6.087,
"l": 45.098
},
"oklch": {
"l": 0.57359,
"c": 0.02104,
"h": 113.7
},
"luminance": 0.18995
}Semantic roles & 50–950 ramp
primary
#787A6C
secondary
#9E9DA5
accent
#79AF80
background
#F9F9F9
surface
#F2F2F1
border
#CCCCCB
text
#0E0E0D
muted
#7E7E7E