#8B8A8A#8B8A8A

#8B8A8A is a light, near-neutral grey. Relative luminance 0.255; OKLCH L 63.4% C 0.001 H 17.1°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8B8A8A
RGBrgb(139, 138, 138)
HSLhsl(0, 0%, 54%)
HSVhsv(0, 1%, 55%)
CMYKcmyk(0%, 0.7%, 0.7%, 45.5%)
CIE-LABlab(57.56, 0.37, 0.13)
CIE-LCHlch(57.56, 0.39, 19.45°)
OKLaboklab(63.43% 0.0011 0.0004)
OKLCHoklch(63.43% 0.001 17.1)
XYZxyz(24.3226, 25.5009, 27.6806)
Luminance0.2550 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8A8A #8A8B8B
analogous
#8B8A8B #8B8A8A #8B8B8A
triadic
#8B8A8A #8A8B8A #8A8A8B
tetradic
#8B8A8A #8B8B8A #8A8B8B #8B8A8B
square
#8B8A8A #8B8B8A #8A8B8B #8B8A8B
split-complementary
#8B8A8A #8A8B8B #8A8B8B
monochromatic
#4E4D4D #6C6B6B #8B8A8A #A9A9A9 #C8C7C7

Accessibility & contrast

On white

3.44
#8B8A8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#8B8A8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8A8A
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8A8A#FFFFFF#000000##000000
##8B8A8A1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b8a8a;
/* rgb */ color: rgb(139, 138, 138);
/* oklch */ color: oklch(63.4% 0.001 17.1);
Tailwind
colors: {
  custom: {
    50: '#acacac',
    500: '#8b8a8a',
    950: '#000000',
  },
}
SCSS
$custom: #8b8a8a;
$custom-light: #acacac;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8a8a",
  "rgb": {
    "r": 139,
    "g": 138,
    "b": 138
  },
  "hsl": {
    "h": 0,
    "s": 0.429,
    "l": 54.314
  },
  "oklch": {
    "l": 0.63428,
    "c": 0.00119,
    "h": 17.1
  },
  "luminance": 0.25501
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B8A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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