#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
RGBrgb(151, 140, 143)
HSLhsl(344, 5%, 57%)
HSVhsv(344, 7%, 59%)
CMYKcmyk(0%, 7.3%, 5.3%, 40.8%)
CIE-LABlab(59.27, 4.65, -0.12)
CIE-LCHlch(59.27, 4.65, 358.55°)
OKLaboklab(65.06% 0.0138 -0.0002)
OKLCHoklch(65.06% 0.014 359)
XYZxyz(27.0979, 27.3190, 29.8268)
Luminance0.2732 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

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
##978C8F1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.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

Preview Lab

Preview with #978C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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