#8E8A8A#8E8A8A

#8E8A8A is a light, near-neutral grey. Relative luminance 0.258; OKLCH L 63.7% C 0.005 H 17.3°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8E8A8A
RGBrgb(142, 138, 138)
HSLhsl(0, 2%, 55%)
HSVhsv(0, 3%, 56%)
CMYKcmyk(0%, 2.8%, 2.8%, 44.3%)
CIE-LABlab(57.81, 1.48, 0.53)
CIE-LCHlch(57.81, 1.57, 19.57°)
OKLaboklab(63.69% 0.0046 0.0014)
OKLCHoklch(63.69% 0.005 17.3)
XYZxyz(24.8306, 25.7628, 27.7044)
Luminance0.2576 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8A8A #8A8E8E
analogous
#8E8A8C #8E8A8A #8E8C8A
triadic
#8E8A8A #8A8E8A #8A8A8E
tetradic
#8E8A8A #8C8E8A #8A8E8E #8C8A8E
square
#8E8A8A #8C8E8A #8A8E8E #8C8A8E
split-complementary
#8E8A8A #8A8E8C #8A8C8E
monochromatic
#504D4D #6F6B6B #8E8A8A #ACA9A9 #CAC8C8

Accessibility & contrast

On white

3.41
#8E8A8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#8E8A8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8A8A
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8A8A#FFFFFF#000000##000000
##8E8A8A1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8A8A
Deuteranopia (green-blind)
#8B8B8A
Tritanopia (blue-blind)
#8F8A8A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8e8a8a;
/* rgb */ color: rgb(142, 138, 138);
/* oklch */ color: oklch(63.7% 0.005 17.3);
Tailwind
colors: {
  custom: {
    50: '#afacac',
    500: '#8e8a8a',
    950: '#000000',
  },
}
SCSS
$custom: #8e8a8a;
$custom-light: #afacac;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8a8a",
  "rgb": {
    "r": 142,
    "g": 138,
    "b": 138
  },
  "hsl": {
    "h": 0,
    "s": 1.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.63687,
    "c": 0.00478,
    "h": 17.3
  },
  "luminance": 0.25763
}

Semantic roles & 50–950 ramp

primary
#8E8A8A
secondary
#B9BBBB
accent
#ABAB7D
background
#FAFAFA
surface
#F4F4F4
border
#CECECE
text
#101010
muted
#7F7F7F

Preview Lab

Preview with #8E8A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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