#978A8A#978A8A

#978A8A is a light, near-neutral grey. Relative luminance 0.266; OKLCH L 64.5% C 0.016 H 17.6°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#978A8A
RGBrgb(151, 138, 138)
HSLhsl(0, 6%, 57%)
HSVhsv(0, 9%, 59%)
CMYKcmyk(0%, 8.6%, 8.6%, 40.8%)
CIE-LABlab(58.59, 4.86, 1.76)
CIE-LCHlch(58.59, 5.17, 19.93°)
OKLaboklab(64.49% 0.0149 0.0047)
OKLCHoklch(64.49% 0.016 17.6)
XYZxyz(26.4380, 26.5917, 27.7798)
Luminance0.2659 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978A8A #8A9797
analogous
#978A91 #978A8A #97918A
triadic
#978A8A #8A978A #8A8A97
tetradic
#978A8A #91978A #8A9797 #918A97
square
#978A8A #91978A #8A9797 #918A97
split-complementary
#978A8A #8A9791 #8A9197
monochromatic
#584E4E #796B6B #978A8A #B4AAAA #D1CBCB

Accessibility & contrast

On white

3.32
#978A8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#978A8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978A8A
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978A8A#FFFFFF#000000##000000
##978A8A1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8C8A
Deuteranopia (green-blind)
#8F8E8A
Tritanopia (blue-blind)
#9A898A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #978a8a;
/* rgb */ color: rgb(151, 138, 138);
/* oklch */ color: oklch(64.5% 0.016 17.6);
Tailwind
colors: {
  custom: {
    50: '#b5acac',
    500: '#978a8a',
    950: '#000000',
  },
}
SCSS
$custom: #978a8a;
$custom-light: #b5acac;
$custom-dark: #000000;
JSON
{
  "hex": "#978a8a",
  "rgb": {
    "r": 151,
    "g": 138,
    "b": 138
  },
  "hsl": {
    "h": 0,
    "s": 5.882,
    "l": 56.667
  },
  "oklch": {
    "l": 0.6449,
    "c": 0.01565,
    "h": 17.6
  },
  "luminance": 0.26591
}

Semantic roles & 50–950 ramp

primary
#978A8A
secondary
#BCC1C1
accent
#AFAF79
background
#FBFAFA
surface
#F6F4F4
border
#D0CECE
text
#111010
muted
#807F7F

Preview Lab

Preview with #978A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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