#8A8E8A#8A8E8A

#8A8E8A is a light, near-neutral grey. Relative luminance 0.266; OKLCH L 64.2% C 0.007 H 145.5°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8A8E8A
RGBrgb(138, 142, 138)
HSLhsl(120, 2%, 55%)
HSVhsv(120, 3%, 56%)
CMYKcmyk(2.8%, 0%, 2.8%, 44.3%)
CIE-LABlab(58.59, -2.25, 1.62)
CIE-LCHlch(58.59, 2.77, 144.29°)
OKLaboklab(64.22% -0.0062 0.0042)
OKLCHoklch(64.22% 0.007 145.5)
XYZxyz(24.7409, 26.5842, 27.8677)
Luminance0.2658 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8E8A #8E8A8E
analogous
#8C8E8A #8A8E8A #8A8E8C
triadic
#8A8E8A #8A8A8E #8E8A8A
tetradic
#8A8E8A #8A8C8E #8E8A8E #8E8C8A
square
#8A8E8A #8A8C8E #8E8A8E #8E8C8A
split-complementary
#8A8E8A #8C8A8E #8E8A8C
monochromatic
#4D504D #6B6F6B #8A8E8A #A9ACA9 #C8CAC8

Accessibility & contrast

On white

3.32
#8A8E8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#8A8E8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8E8A
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8E8A#FFFFFF#000000##000000
##8A8E8A1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8D8A
Deuteranopia (green-blind)
#8D8D8A
Tritanopia (blue-blind)
#8A8E8D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a8e8a;
/* rgb */ color: rgb(138, 142, 138);
/* oklch */ color: oklch(64.2% 0.007 145.5);
Tailwind
colors: {
  custom: {
    50: '#acafac',
    500: '#8a8e8a',
    950: '#000000',
  },
}
SCSS
$custom: #8a8e8a;
$custom-light: #acafac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8e8a",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 138
  },
  "hsl": {
    "h": 120,
    "s": 1.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.64216,
    "c": 0.00749,
    "h": 145.5
  },
  "luminance": 0.26584
}

Semantic roles & 50–950 ramp

primary
#8A8E8A
secondary
#BBB9BB
accent
#7DABAB
background
#FAFAFA
surface
#F4F4F4
border
#CECECE
text
#101010
muted
#7F7F7F

Preview Lab

Preview with #8A8E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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