#978B8A#978B8A
#978B8A is a light, near-neutral grey. Relative luminance 0.269; OKLCH L 64.7% C 0.015 H 23.3°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #978B8A |
|---|---|
| RGB | rgb(151, 139, 138) |
| HSL | hsl(5, 6%, 57%) |
| HSV | hsv(5, 9%, 59%) |
| CMYK | cmyk(0%, 7.9%, 8.6%, 40.8%) |
| CIE-LAB | lab(58.86, 4.29, 2.15) |
| CIE-LCH | lch(58.86, 4.80, 26.62°) |
| OKLab | oklab(64.7% 0.0133 0.0057) |
| OKLCH | oklch(64.7% 0.015 23.3) |
| XYZ | xyz(26.5821, 26.8799, 27.8278) |
| Luminance | 0.2688 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Warm Grey
#978A84
ΔE00 2.68
Gray
#808080
ΔE00 7.67
Grey
#929591
ΔE00 8.95
Stone
#A89F91
ΔE00 9.63
Medium Grey
#7D7F7C
ΔE00 9.63
Taupe
#8B7D6B
ΔE00 10.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978B8A #8A9697
analogous
#978A90 #978B8A #97928A
triadic
#978B8A #8A978B #8B8A97
tetradic
#978B8A #90978A #8A9697 #928A97
square
#978B8A #90978A #8A9697 #928A97
split-complementary
#978B8A #8A9792 #8A9097
monochromatic
#584F4E #796C6B #978B8A #B4ABAA #D1CBCB
Accessibility & contrast
On white
3.29
#978B8A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.38
#978B8A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978B8A
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978B8A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978B8A | 1.00 | 3.29 | 6.38 | 6.38 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D8C8A
Deuteranopia (green-blind)
#908E8A
Tritanopia (blue-blind)
#9A8A8B
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #978b8a; /* rgb */ color: rgb(151, 139, 138); /* oklch */ color: oklch(64.7% 0.015 23.3);
Tailwind
colors: {
custom: {
50: '#b5acac',
500: '#978b8a',
950: '#000000',
},
}SCSS
$custom: #978b8a; $custom-light: #b5acac; $custom-dark: #000000;
JSON
{
"hex": "#978b8a",
"rgb": {
"r": 151,
"g": 139,
"b": 138
},
"hsl": {
"h": 4.615,
"s": 5.882,
"l": 56.667
},
"oklch": {
"l": 0.647,
"c": 0.01452,
"h": 23.3
},
"luminance": 0.2688
}Semantic roles & 50–950 ramp
primary
#978B8A
secondary
#BCC1C1
accent
#ABAF79
background
#FBFAFA
surface
#F6F4F4
border
#D0CECE
text
#111010
muted
#807F7F