#8C8A8A#8C8A8A

#8C8A8A is a light, near-neutral grey. Relative luminance 0.256; OKLCH L 63.5% C 0.002 H 17.4°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8C8A8A
RGBrgb(140, 138, 138)
HSLhsl(0, 1%, 55%)
HSVhsv(0, 1%, 55%)
CMYKcmyk(0%, 1.4%, 1.4%, 45.1%)
CIE-LABlab(57.64, 0.74, 0.26)
CIE-LCHlch(57.64, 0.78, 19.48°)
OKLaboklab(63.51% 0.0023 0.0007)
OKLCHoklch(63.51% 0.002 17.4)
XYZxyz(24.4904, 25.5874, 27.6885)
Luminance0.2559 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8A8A #8A8C8C
analogous
#8C8A8B #8C8A8A #8C8B8A
triadic
#8C8A8A #8A8C8A #8A8A8C
tetradic
#8C8A8A #8B8C8A #8A8C8C #8B8A8C
square
#8C8A8A #8B8C8A #8A8C8C #8B8A8C
split-complementary
#8C8A8A #8A8C8B #8A8B8C
monochromatic
#4E4D4D #6D6B6B #8C8A8A #AAA9A9 #C9C8C8

Accessibility & contrast

On white

3.43
#8C8A8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#8C8A8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8A8A
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8A8A#FFFFFF#000000##000000
##8C8A8A1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8c8a8a;
/* rgb */ color: rgb(140, 138, 138);
/* oklch */ color: oklch(63.5% 0.002 17.4);
Tailwind
colors: {
  custom: {
    50: '#adacac',
    500: '#8c8a8a',
    950: '#000000',
  },
}
SCSS
$custom: #8c8a8a;
$custom-light: #adacac;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8a8a",
  "rgb": {
    "r": 140,
    "g": 138,
    "b": 138
  },
  "hsl": {
    "h": 0,
    "s": 0.862,
    "l": 54.51
  },
  "oklch": {
    "l": 0.63514,
    "c": 0.00238,
    "h": 17.4
  },
  "luminance": 0.25587
}

Semantic roles & 50–950 ramp

primary
#8C8A8A
secondary
#B8B9B9
accent
#AAAA7E
background
#FAFAFA
surface
#F4F4F4
border
#CECECE
text
#101010
muted
#7F7F7F

Preview Lab

Preview with #8C8A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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