#8A8F8A#8A8F8A

#8A8F8A is a light, near-neutral grey. Relative luminance 0.269; OKLCH L 64.4% C 0.009 H 145.5°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#8A8F8A
RGBrgb(138, 143, 138)
HSLhsl(120, 2%, 55%)
HSVhsv(120, 3%, 56%)
CMYKcmyk(3.5%, 0%, 3.5%, 43.9%)
CIE-LABlab(58.87, -2.81, 2.02)
CIE-LCHlch(58.87, 3.46, 144.26°)
OKLaboklab(64.44% -0.0077 0.0053)
OKLCHoklch(64.44% 0.009 145.5)
XYZxyz(24.8903, 26.8831, 27.9175)
Luminance0.2688 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8F8A #8F8A8F
analogous
#8C8F8A #8A8F8A #8A8F8C
triadic
#8A8F8A #8A8A8F #8F8A8A
tetradic
#8A8F8A #8A8C8F #8F8A8F #8F8C8A
square
#8A8F8A #8A8C8F #8F8A8F #8F8C8A
split-complementary
#8A8F8A #8C8A8F #8F8A8C
monochromatic
#4E514E #6C706C #8A8F8A #A9ADA9 #C9CBC9

Accessibility & contrast

On white

3.29
#8A8F8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#8A8F8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8F8A
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8F8A#FFFFFF#000000##000000
##8A8F8A1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8E8A
Deuteranopia (green-blind)
#8E8D8A
Tritanopia (blue-blind)
#8A8F8D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a8f8a;
/* rgb */ color: rgb(138, 143, 138);
/* oklch */ color: oklch(64.4% 0.009 145.5);
Tailwind
colors: {
  custom: {
    50: '#acafac',
    500: '#8a8f8a',
    950: '#000000',
  },
}
SCSS
$custom: #8a8f8a;
$custom-light: #acafac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8f8a",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 138
  },
  "hsl": {
    "h": 120,
    "s": 2.183,
    "l": 55.098
  },
  "oklch": {
    "l": 0.64435,
    "c": 0.00935,
    "h": 145.5
  },
  "luminance": 0.26883
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A8F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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