#9B8A8A#9B8A8A

#9B8A8A is a light, muted grey. Relative luminance 0.270; OKLCH L 64.9% C 0.021 H 17.7°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#9B8A8A
RGBrgb(155, 138, 138)
HSLhsl(0, 8%, 57%)
HSVhsv(0, 11%, 61%)
CMYKcmyk(0%, 11%, 11%, 39.2%)
CIE-LABlab(58.96, 6.38, 2.33)
CIE-LCHlch(58.96, 6.79, 20.10°)
OKLaboklab(64.86% 0.0196 0.0062)
OKLCHoklch(64.86% 0.021 17.7)
XYZxyz(27.1931, 26.9810, 27.8152)
Luminance0.2698 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8A8A #8A9B9B
analogous
#9B8A93 #9B8A8A #9B938A
triadic
#9B8A8A #8A9B8A #8A8A9B
tetradic
#9B8A8A #939B8A #8A9B9B #938A9B
square
#9B8A8A #939B8A #8A9B9B #938A9B
split-complementary
#9B8A8A #8A9B93 #8A939B
monochromatic
#5C4F4F #7D6B6B #9B8A8A #B7ABAB #D3CCCC

Accessibility & contrast

On white

3.28
#9B8A8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#9B8A8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8A8A
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8A8A#FFFFFF#000000##000000
##9B8A8A1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8C8A
Deuteranopia (green-blind)
#918F8A
Tritanopia (blue-blind)
#9F898A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9b8a8a;
/* rgb */ color: rgb(155, 138, 138);
/* oklch */ color: oklch(64.9% 0.021 17.7);
Tailwind
colors: {
  custom: {
    50: '#b8acac',
    500: '#9b8a8a',
    950: '#000000',
  },
}
SCSS
$custom: #9b8a8a;
$custom-light: #b8acac;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8a8a",
  "rgb": {
    "r": 155,
    "g": 138,
    "b": 138
  },
  "hsl": {
    "h": 0,
    "s": 7.834,
    "l": 57.451
  },
  "oklch": {
    "l": 0.6486,
    "c": 0.02054,
    "h": 17.7
  },
  "luminance": 0.2698
}

Semantic roles & 50–950 ramp

primary
#9B8A8A
secondary
#BDC4C4
accent
#B1B177
background
#FBFAFA
surface
#F6F4F4
border
#D0CECE
text
#111010
muted
#807F7F

Preview Lab

Preview with #9B8A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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