#978F8A#978F8A

#978F8A is a light, near-neutral grey. Relative luminance 0.281; OKLCH L 65.5% C 0.012 H 54.4°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#978F8A
RGBrgb(151, 143, 138)
HSLhsl(23, 6%, 57%)
HSVhsv(23, 9%, 59%)
CMYKcmyk(0%, 5.3%, 8.6%, 40.8%)
CIE-LABlab(59.94, 2.04, 3.72)
CIE-LCHlch(59.94, 4.24, 61.21°)
OKLaboklab(65.55% 0.007 0.0098)
OKLCHoklch(65.55% 0.012 54.4)
XYZxyz(27.1719, 28.0595, 28.0244)
Luminance0.2806 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978F8A #8A9297
analogous
#978A8C #978F8A #97968A
triadic
#978F8A #8A978F #8F8A97
tetradic
#978F8A #8C978A #8A9297 #968A97
square
#978F8A #8C978A #8A9297 #968A97
split-complementary
#978F8A #8A9796 #8A8C97
monochromatic
#58524E #79706B #978F8A #B4AEAA #D1CDCB

Accessibility & contrast

On white

3.18
#978F8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#978F8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978F8A
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978F8A#FFFFFF#000000##000000
##978F8A1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918F8A
Deuteranopia (green-blind)
#93918A
Tritanopia (blue-blind)
#9A8E8E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #978f8a;
/* rgb */ color: rgb(151, 143, 138);
/* oklch */ color: oklch(65.5% 0.012 54.4);
Tailwind
colors: {
  custom: {
    50: '#b5afac',
    500: '#978f8a',
    950: '#000000',
  },
}
SCSS
$custom: #978f8a;
$custom-light: #b5afac;
$custom-dark: #000000;
JSON
{
  "hex": "#978f8a",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 138
  },
  "hsl": {
    "h": 23.077,
    "s": 5.882,
    "l": 56.667
  },
  "oklch": {
    "l": 0.65546,
    "c": 0.01205,
    "h": 54.4
  },
  "luminance": 0.28059
}

Semantic roles & 50–950 ramp

primary
#978F8A
secondary
#BCBFC1
accent
#9AAF79
background
#FBFAFA
surface
#F6F4F4
border
#D0CECE
text
#111010
muted
#807F7F

Preview Lab

Preview with #978F8A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#978F8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva