#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
RGBrgb(151, 139, 138)
HSLhsl(5, 6%, 57%)
HSVhsv(5, 9%, 59%)
CMYKcmyk(0%, 7.9%, 8.6%, 40.8%)
CIE-LABlab(58.86, 4.29, 2.15)
CIE-LCHlch(58.86, 4.80, 26.62°)
OKLaboklab(64.7% 0.0133 0.0057)
OKLCHoklch(64.7% 0.015 23.3)
XYZxyz(26.5821, 26.8799, 27.8278)
Luminance0.2688 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

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
##978B8A1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.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

Preview Lab

Preview with #978B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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