#9A8A8A#9A8A8A

#9A8A8A is a light, near-neutral grey. Relative luminance 0.269; OKLCH L 64.8% C 0.019 H 17.7°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#9A8A8A
RGBrgb(154, 138, 138)
HSLhsl(0, 7%, 57%)
HSVhsv(0, 10%, 60%)
CMYKcmyk(0%, 10.4%, 10.4%, 39.6%)
CIE-LABlab(58.87, 6.00, 2.19)
CIE-LCHlch(58.87, 6.38, 20.06°)
OKLaboklab(64.77% 0.0184 0.0059)
OKLCHoklch(64.77% 0.019 17.7)
XYZxyz(27.0020, 26.8825, 27.8062)
Luminance0.2688 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8A8A #8A9A9A
analogous
#9A8A92 #9A8A8A #9A928A
triadic
#9A8A8A #8A9A8A #8A8A9A
tetradic
#9A8A8A #929A8A #8A9A9A #928A9A
square
#9A8A8A #929A8A #8A9A9A #928A9A
split-complementary
#9A8A8A #8A9A92 #8A929A
monochromatic
#5B4F4F #7C6B6B #9A8A8A #B6ABAB #D3CCCC

Accessibility & contrast

On white

3.29
#9A8A8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#9A8A8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8A8A
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8A8A#FFFFFF#000000##000000
##9A8A8A1.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)
#8D8C8A
Deuteranopia (green-blind)
#908F8A
Tritanopia (blue-blind)
#9E898A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9a8a8a;
/* rgb */ color: rgb(154, 138, 138);
/* oklch */ color: oklch(64.8% 0.019 17.7);
Tailwind
colors: {
  custom: {
    50: '#b7acac',
    500: '#9a8a8a',
    950: '#000000',
  },
}
SCSS
$custom: #9a8a8a;
$custom-light: #b7acac;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8a8a",
  "rgb": {
    "r": 154,
    "g": 138,
    "b": 138
  },
  "hsl": {
    "h": 0,
    "s": 7.339,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64767,
    "c": 0.01932,
    "h": 17.7
  },
  "luminance": 0.26882
}

Semantic roles & 50–950 ramp

primary
#9A8A8A
secondary
#BDC3C3
accent
#B0B077
background
#FBFAFA
surface
#F6F4F4
border
#D0CECE
text
#111010
muted
#807F7F

Preview Lab

Preview with #9A8A8A

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

Preview Lab → · Contrast checker → · Palette generator →

#9A8A8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva