#8A9997#8A9997

#8A9997 is a light, near-neutral grey. Relative luminance 0.304; OKLCH L 67.0% C 0.017 H 187.1°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#8A9997
RGBrgb(138, 153, 151)
HSLhsl(172, 7%, 57%)
HSVhsv(172, 10%, 60%)
CMYKcmyk(9.8%, 0%, 1.3%, 40%)
CIE-LABlab(62.01, -5.74, -0.77)
CIE-LCHlch(62.01, 5.79, 187.68°)
OKLaboklab(67.04% -0.0173 -0.0021)
OKLCHoklch(67.04% 0.017 187.1)
XYZxyz(27.4571, 30.4197, 33.6972)
Luminance0.3042 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9997 #998A8C
analogous
#8A9990 #8A9997 #8A9499
triadic
#8A9997 #978A99 #99978A
tetradic
#8A9997 #908A99 #998A8C #94998A
square
#8A9997 #908A99 #998A8C #94998A
split-complementary
#8A9997 #998A94 #99908A
monochromatic
#4F5A59 #6B7B79 #8A9997 #ABB6B4 #CBD2D1

Accessibility & contrast

On white

2.96
#8A9997 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#8A9997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9997
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9997#FFFFFF#000000##000000
##8A99971.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#979797
Deuteranopia (green-blind)
#949597
Tritanopia (blue-blind)
#869A98
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8a9997;
/* rgb */ color: rgb(138, 153, 151);
/* oklch */ color: oklch(67.0% 0.017 187.1);
Tailwind
colors: {
  custom: {
    50: '#acb7b5',
    500: '#8a9997',
    950: '#000000',
  },
}
SCSS
$custom: #8a9997;
$custom-light: #acb7b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9997",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 151
  },
  "hsl": {
    "h": 172,
    "s": 6.849,
    "l": 57.059
  },
  "oklch": {
    "l": 0.67038,
    "c": 0.01739,
    "h": 187.1
  },
  "luminance": 0.3042
}

Semantic roles & 50–950 ramp

primary
#8A9997
secondary
#C2BCBD
accent
#787FB0
background
#FAFBFB
surface
#F4F6F6
border
#CED0D0
text
#101111
muted
#7F8080

Preview Lab

Preview with #8A9997

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

Preview Lab → · Contrast checker → · Palette generator →

#8A9997 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva