#978C8A#978C8A
#978C8A is a light, near-neutral grey. Relative luminance 0.272; OKLCH L 64.9% C 0.014 H 29.9°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #978C8A |
|---|---|
| RGB | rgb(151, 140, 138) |
| HSL | hsl(9, 6%, 57%) |
| HSV | hsv(9, 9%, 59%) |
| CMYK | cmyk(0%, 7.3%, 8.6%, 40.8%) |
| CIE-LAB | lab(59.13, 3.73, 2.54) |
| CIE-LCH | lch(59.13, 4.51, 34.28°) |
| OKLab | oklab(64.91% 0.0118 0.0068) |
| OKLCH | oklch(64.91% 0.014 29.9) |
| XYZ | xyz(26.7276, 27.1708, 27.8763) |
| Luminance | 0.2717 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Warm Grey
#978A84
ΔE00 2.22
Gray
#808080
ΔE00 7.46
Grey
#929591
ΔE00 8.20
Stone
#A89F91
ΔE00 8.85
Medium Grey
#7D7F7C
ΔE00 9.23
Taupe
#8B7D6B
ΔE00 9.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978C8A #8A9597
analogous
#978A8F #978C8A #97938A
triadic
#978C8A #8A978C #8C8A97
tetradic
#978C8A #8F978A #8A9597 #938A97
square
#978C8A #8F978A #8A9597 #938A97
split-complementary
#978C8A #8A9793 #8A8F97
monochromatic
#58504E #796D6B #978C8A #B4ACAA #D1CCCB
Accessibility & contrast
On white
3.26
#978C8A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.43
#978C8A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978C8A
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978C8A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978C8A | 1.00 | 3.26 | 6.43 | 6.43 |
| #FFFFFF | 3.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E8D8A
Deuteranopia (green-blind)
#918F8A
Tritanopia (blue-blind)
#9A8B8B
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #978c8a; /* rgb */ color: rgb(151, 140, 138); /* oklch */ color: oklch(64.9% 0.014 29.9);
Tailwind
colors: {
custom: {
50: '#b5adac',
500: '#978c8a',
950: '#000000',
},
}SCSS
$custom: #978c8a; $custom-light: #b5adac; $custom-dark: #000000;
JSON
{
"hex": "#978c8a",
"rgb": {
"r": 151,
"g": 140,
"b": 138
},
"hsl": {
"h": 9.231,
"s": 5.882,
"l": 56.667
},
"oklch": {
"l": 0.64911,
"c": 0.01356,
"h": 29.9
},
"luminance": 0.2717
}Semantic roles & 50–950 ramp
primary
#978C8A
secondary
#BCC0C1
accent
#A7AF79
background
#FBFAFA
surface
#F6F4F4
border
#D0CECE
text
#111010
muted
#807F7F