#978C8F#978C8F
#978C8F is a light, near-neutral grey. Relative luminance 0.273; OKLCH L 65.1% C 0.014 H 359.0°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #978C8F |
|---|---|
| RGB | rgb(151, 140, 143) |
| HSL | hsl(344, 5%, 57%) |
| HSV | hsv(344, 7%, 59%) |
| CMYK | cmyk(0%, 7.3%, 5.3%, 40.8%) |
| CIE-LAB | lab(59.27, 4.65, -0.12) |
| CIE-LCH | lch(59.27, 4.65, 358.55°) |
| OKLab | oklab(65.06% 0.0138 -0.0002) |
| OKLCH | oklch(65.06% 0.014 359) |
| XYZ | xyz(27.0979, 27.3190, 29.8268) |
| Luminance | 0.2732 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Warm Grey
#978A84
ΔE00 4.80
Gray
#808080
ΔE00 8.00
Grey
#929591
ΔE00 9.50
Purpley Grey
#947E94
ΔE00 9.88
Dark Gray
#A9A9A9
ΔE00 10.24
Medium Grey
#7D7F7C
ΔE00 10.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978C8F #8C9794
analogous
#978C95 #978C8F #978F8C
triadic
#978C8F #8F978C #8C8F97
tetradic
#978C8F #95978C #8C9794 #8F8C97
square
#978C8F #95978C #8C9794 #8F8C97
split-complementary
#978C8F #8C978F #8C9597
monochromatic
#595052 #796D70 #978C8F #B4ACAE #D1CCCE
Accessibility & contrast
On white
3.25
#978C8F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.46
#978C8F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978C8F
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978C8F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978C8F | 1.00 | 3.25 | 6.46 | 6.46 |
| #FFFFFF | 3.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D8E8F
Deuteranopia (green-blind)
#8F8F8F
Tritanopia (blue-blind)
#998C8D
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #978c8f; /* rgb */ color: rgb(151, 140, 143); /* oklch */ color: oklch(65.1% 0.014 359.0);
Tailwind
colors: {
custom: {
50: '#b5adaf',
500: '#978c8f',
950: '#000000',
},
}SCSS
$custom: #978c8f; $custom-light: #b5adaf; $custom-dark: #000000;
JSON
{
"hex": "#978c8f",
"rgb": {
"r": 151,
"g": 140,
"b": 143
},
"hsl": {
"h": 343.636,
"s": 5.023,
"l": 57.059
},
"oklch": {
"l": 0.65062,
"c": 0.0138,
"h": 359
},
"luminance": 0.27319
}Semantic roles & 50–950 ramp
primary
#978C8F
secondary
#BDC2C0
accent
#AEA07A
background
#FBFAFA
surface
#F6F4F4
border
#D0CECE
text
#111010
muted
#807F7F