#978A8A#978A8A
#978A8A is a light, near-neutral grey. Relative luminance 0.266; OKLCH L 64.5% C 0.016 H 17.6°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #978A8A |
|---|---|
| RGB | rgb(151, 138, 138) |
| HSL | hsl(0, 6%, 57%) |
| HSV | hsv(0, 9%, 59%) |
| CMYK | cmyk(0%, 8.6%, 8.6%, 40.8%) |
| CIE-LAB | lab(58.59, 4.86, 1.76) |
| CIE-LCH | lch(58.59, 5.17, 19.93°) |
| OKLab | oklab(64.49% 0.0149 0.0047) |
| OKLCH | oklch(64.49% 0.016 17.6) |
| XYZ | xyz(26.4380, 26.5917, 27.7798) |
| Luminance | 0.2659 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Warm Grey
#978A84
ΔE00 3.28
Gray
#808080
ΔE00 7.93
Grey
#929591
ΔE00 9.69
Medium Grey
#7D7F7C
ΔE00 10.06
Reddish Grey
#997570
ΔE00 10.30
Stone
#A89F91
ΔE00 10.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978A8A #8A9797
analogous
#978A91 #978A8A #97918A
triadic
#978A8A #8A978A #8A8A97
tetradic
#978A8A #91978A #8A9797 #918A97
square
#978A8A #91978A #8A9797 #918A97
split-complementary
#978A8A #8A9791 #8A9197
monochromatic
#584E4E #796B6B #978A8A #B4AAAA #D1CBCB
Accessibility & contrast
On white
3.32
#978A8A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.32
#978A8A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978A8A
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978A8A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978A8A | 1.00 | 3.32 | 6.32 | 6.32 |
| #FFFFFF | 3.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C8C8A
Deuteranopia (green-blind)
#8F8E8A
Tritanopia (blue-blind)
#9A898A
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #978a8a; /* rgb */ color: rgb(151, 138, 138); /* oklch */ color: oklch(64.5% 0.016 17.6);
Tailwind
colors: {
custom: {
50: '#b5acac',
500: '#978a8a',
950: '#000000',
},
}SCSS
$custom: #978a8a; $custom-light: #b5acac; $custom-dark: #000000;
JSON
{
"hex": "#978a8a",
"rgb": {
"r": 151,
"g": 138,
"b": 138
},
"hsl": {
"h": 0,
"s": 5.882,
"l": 56.667
},
"oklch": {
"l": 0.6449,
"c": 0.01565,
"h": 17.6
},
"luminance": 0.26591
}Semantic roles & 50–950 ramp
primary
#978A8A
secondary
#BCC1C1
accent
#AFAF79
background
#FBFAFA
surface
#F6F4F4
border
#D0CECE
text
#111010
muted
#807F7F