#8E8A96#8E8A96

#8E8A96 is a light, near-neutral grey. Relative luminance 0.261; OKLCH L 64.1% C 0.018 H 301.0°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#8E8A96
RGBrgb(142, 138, 150)
HSLhsl(260, 5%, 56%)
HSVhsv(260, 8%, 59%)
CMYKcmyk(5.3%, 8%, 0%, 41.2%)
CIE-LABlab(58.16, 3.87, -5.85)
CIE-LCHlch(58.16, 7.01, 303.48°)
OKLaboklab(64.08% 0.0094 -0.0156)
OKLCHoklch(64.08% 0.018 301)
XYZxyz(25.7478, 26.1297, 32.5353)
Luminance0.2613 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8A96 #92968A
analogous
#8A8C96 #8E8A96 #948A96
triadic
#8E8A96 #968E8A #8A968E
tetradic
#8E8A96 #968A8C #92968A #8A9694
square
#8E8A96 #968A8C #92968A #8A9694
split-complementary
#8E8A96 #96948A #8C968A
monochromatic
#514E57 #6F6B78 #8E8A96 #ADAAB3 #CCCBD0

Accessibility & contrast

On white

3.37
#8E8A96 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#8E8A96 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8A96
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8A96#FFFFFF#000000##000000
##8E8A961.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#888C97
Deuteranopia (green-blind)
#898C96
Tritanopia (blue-blind)
#8D8C8E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8e8a96;
/* rgb */ color: rgb(142, 138, 150);
/* oklch */ color: oklch(64.1% 0.018 301.0);
Tailwind
colors: {
  custom: {
    50: '#afacb4',
    500: '#8e8a96',
    950: '#000000',
  },
}
SCSS
$custom: #8e8a96;
$custom-light: #afacb4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8a96",
  "rgb": {
    "r": 142,
    "g": 138,
    "b": 150
  },
  "hsl": {
    "h": 260,
    "s": 5.405,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64075,
    "c": 0.01824,
    "h": 301
  },
  "luminance": 0.2613
}

Semantic roles & 50–950 ramp

primary
#8E8A96
secondary
#BFC0BB
accent
#AF799D
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#101011
muted
#7F7F80

Preview Lab

Preview with #8E8A96

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

Preview Lab → · Contrast checker → · Palette generator →

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