#8A8C86#8A8C86

#8A8C86 is a light, near-neutral grey. Relative luminance 0.259; OKLCH L 63.7% C 0.009 H 121.7°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8A8C86
RGBrgb(138, 140, 134)
HSLhsl(80, 3%, 54%)
HSVhsv(80, 4%, 55%)
CMYKcmyk(1.4%, 0%, 4.3%, 45.1%)
CIE-LABlab(57.92, -1.90, 2.94)
CIE-LCHlch(57.92, 3.50, 122.83°)
OKLaboklab(63.66% -0.0048 0.0077)
OKLCHoklch(63.66% 0.009 121.7)
XYZxyz(24.1617, 25.8807, 26.2722)
Luminance0.2588 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8C86 #88868C
analogous
#8C8B86 #8A8C86 #878C86
triadic
#8A8C86 #868A8C #8C868A
tetradic
#8A8C86 #868C8B #88868C #8C8687
square
#8A8C86 #868C8B #88868C #8C8687
split-complementary
#8A8C86 #86878C #8B868C
monochromatic
#4C4E4A #6B6D68 #8A8C86 #A8AAA5 #C7C8C5

Accessibility & contrast

On white

3.40
#8A8C86 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#8A8C86 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8C86
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8C86#FFFFFF#000000##000000
##8A8C861.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a8c86;
/* rgb */ color: rgb(138, 140, 134);
/* oklch */ color: oklch(63.7% 0.009 121.7);
Tailwind
colors: {
  custom: {
    50: '#acada9',
    500: '#8a8c86',
    950: '#000000',
  },
}
SCSS
$custom: #8a8c86;
$custom-light: #acada9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8c86",
  "rgb": {
    "r": 138,
    "g": 140,
    "b": 134
  },
  "hsl": {
    "h": 80,
    "s": 2.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.63658,
    "c": 0.0091,
    "h": 121.7
  },
  "luminance": 0.25881
}

Semantic roles & 50–950 ramp

primary
#8A8C86
secondary
#B6B6B8
accent
#7CAC8C
background
#FAFAFA
surface
#F4F4F4
border
#CECECE
text
#10100F
muted
#7F7F7F

Preview Lab

Preview with #8A8C86

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

Preview Lab → · Contrast checker → · Palette generator →

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