#8A8C8A#8A8C8A

#8A8C8A is a light, near-neutral grey. Relative luminance 0.260; OKLCH L 63.8% C 0.004 H 145.5°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8A8C8A
RGBrgb(138, 140, 138)
HSLhsl(120, 1%, 55%)
HSVhsv(120, 1%, 55%)
CMYKcmyk(1.4%, 0%, 1.4%, 45.1%)
CIE-LABlab(58.03, -1.13, 0.81)
CIE-LCHlch(58.03, 1.39, 144.37°)
OKLaboklab(63.78% -0.0031 0.0021)
OKLCHoklch(63.78% 0.004 145.5)
XYZxyz(24.4460, 25.9944, 27.7694)
Luminance0.2599 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8C8A #8C8A8C
analogous
#8B8C8A #8A8C8A #8A8C8B
triadic
#8A8C8A #8A8A8C #8C8A8A
tetradic
#8A8C8A #8A8B8C #8C8A8C #8C8B8A
square
#8A8C8A #8A8B8C #8C8A8C #8C8B8A
split-complementary
#8A8C8A #8B8A8C #8C8A8B
monochromatic
#4D4E4D #6B6D6B #8A8C8A #A9AAA9 #C8C9C8

Accessibility & contrast

On white

3.39
#8A8C8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#8A8C8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8C8A
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8C8A#FFFFFF#000000##000000
##8A8C8A1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8C8A
Deuteranopia (green-blind)
#8C8B8A
Tritanopia (blue-blind)
#8A8C8B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a8c8a;
/* rgb */ color: rgb(138, 140, 138);
/* oklch */ color: oklch(63.8% 0.004 145.5);
Tailwind
colors: {
  custom: {
    50: '#acadac',
    500: '#8a8c8a',
    950: '#000000',
  },
}
SCSS
$custom: #8a8c8a;
$custom-light: #acadac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8c8a",
  "rgb": {
    "r": 138,
    "g": 140,
    "b": 138
  },
  "hsl": {
    "h": 120,
    "s": 0.862,
    "l": 54.51
  },
  "oklch": {
    "l": 0.63779,
    "c": 0.00375,
    "h": 145.5
  },
  "luminance": 0.25994
}

Semantic roles & 50–950 ramp

primary
#8A8C8A
secondary
#B9B8B9
accent
#7EAAAA
background
#FAFAFA
surface
#F4F4F4
border
#CECECE
text
#101010
muted
#7F7F7F

Preview Lab

Preview with #8A8C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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