#978787#978787
#978787 is a light, near-neutral grey. Relative luminance 0.257; OKLCH L 63.8% C 0.019 H 17.7°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #978787 |
|---|---|
| RGB | rgb(151, 135, 135) |
| HSL | hsl(0, 7%, 56%) |
| HSV | hsv(0, 11%, 59%) |
| CMYK | cmyk(0%, 10.6%, 10.6%, 40.8%) |
| CIE-LAB | lab(57.71, 6.02, 2.20) |
| CIE-LCH | lch(57.71, 6.41, 20.07°) |
| OKLab | oklab(63.77% 0.0185 0.0059) |
| OKLCH | oklch(63.77% 0.019 17.7) |
| XYZ | xyz(25.7993, 25.6570, 26.5102) |
| Luminance | 0.2566 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Warm Grey
#978A84
ΔE00 3.86
Gray
#808080
ΔE00 8.61
Reddish Grey
#997570
ΔE00 8.86
Purpley Grey
#947E94
ΔE00 9.94
Rosybrown
#BC8F8F
ΔE00 10.65
Taupe
#8B7D6B
ΔE00 10.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978787 #879797
analogous
#97878F #978787 #978F87
triadic
#978787 #879787 #878797
tetradic
#978787 #8F9787 #879797 #8F8797
square
#978787 #8F9787 #879797 #8F8797
split-complementary
#978787 #87978F #878F97
monochromatic
#584C4C #786868 #978787 #B3A8A8 #D0C9C9
Accessibility & contrast
On white
3.42
#978787 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.13
#978787 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978787
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978787 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978787 | 1.00 | 3.42 | 6.13 | 6.13 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A8987
Deuteranopia (green-blind)
#8D8C87
Tritanopia (blue-blind)
#9B8687
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #978787; /* rgb */ color: rgb(151, 135, 135); /* oklch */ color: oklch(63.8% 0.019 17.7);
Tailwind
colors: {
custom: {
50: '#b5aaa9',
500: '#978787',
950: '#000000',
},
}SCSS
$custom: #978787; $custom-light: #b5aaa9; $custom-dark: #000000;
JSON
{
"hex": "#978787",
"rgb": {
"r": 151,
"g": 135,
"b": 135
},
"hsl": {
"h": 0,
"s": 7.143,
"l": 56.078
},
"oklch": {
"l": 0.63772,
"c": 0.0194,
"h": 17.7
},
"luminance": 0.25657
}Semantic roles & 50–950 ramp
primary
#978787
secondary
#BAC0C0
accent
#B0B078
background
#FBFAFA
surface
#F6F4F4
border
#D0CECE
text
#111010
muted
#807F7F