#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
RGBrgb(151, 140, 138)
HSLhsl(9, 6%, 57%)
HSVhsv(9, 9%, 59%)
CMYKcmyk(0%, 7.3%, 8.6%, 40.8%)
CIE-LABlab(59.13, 3.73, 2.54)
CIE-LCHlch(59.13, 4.51, 34.28°)
OKLaboklab(64.91% 0.0118 0.0068)
OKLCHoklch(64.91% 0.014 29.9)
XYZxyz(26.7276, 27.1708, 27.8763)
Luminance0.2717 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

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
##978C8A1.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.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

Preview Lab

Preview with #978C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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