#978787#978787

#978787 is a light, near-neutral grey. Relative luminance 0.257; OKLCH L 63.8% C 0.019 H 17.7°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#978787
RGBrgb(151, 135, 135)
HSLhsl(0, 7%, 56%)
HSVhsv(0, 11%, 59%)
CMYKcmyk(0%, 10.6%, 10.6%, 40.8%)
CIE-LABlab(57.71, 6.02, 2.20)
CIE-LCHlch(57.71, 6.41, 20.07°)
OKLaboklab(63.77% 0.0185 0.0059)
OKLCHoklch(63.77% 0.019 17.7)
XYZxyz(25.7993, 25.6570, 26.5102)
Luminance0.2566 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978787 #879797
analogous
#97878F #978787 #978F87
triadic
#978787 #879787 #878797
tetradic
#978787 #8F9787 #879797 #8F8797
square
#978787 #8F9787 #879797 #8F8797
split-complementary
#978787 #87978F #878F97
monochromatic
#584C4C #786868 #978787 #B3A8A8 #D0C9C9

Accessibility & contrast

On white

3.42
#978787 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#978787 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978787
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978787#FFFFFF#000000##000000
##9787871.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8987
Deuteranopia (green-blind)
#8D8C87
Tritanopia (blue-blind)
#9B8687
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #978787;
/* rgb */ color: rgb(151, 135, 135);
/* oklch */ color: oklch(63.8% 0.019 17.7);
Tailwind
colors: {
  custom: {
    50: '#b5aaa9',
    500: '#978787',
    950: '#000000',
  },
}
SCSS
$custom: #978787;
$custom-light: #b5aaa9;
$custom-dark: #000000;
JSON
{
  "hex": "#978787",
  "rgb": {
    "r": 151,
    "g": 135,
    "b": 135
  },
  "hsl": {
    "h": 0,
    "s": 7.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63772,
    "c": 0.0194,
    "h": 17.7
  },
  "luminance": 0.25657
}

Semantic roles & 50–950 ramp

primary
#978787
secondary
#BAC0C0
accent
#B0B078
background
#FBFAFA
surface
#F6F4F4
border
#D0CECE
text
#111010
muted
#807F7F

Preview Lab

Preview with #978787

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

Preview Lab → · Contrast checker → · Palette generator →

#978787 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva