#9FA4AB#9FA4AB

#9FA4AB is a light, near-neutral grey. Relative luminance 0.369; OKLCH L 71.7% C 0.012 H 256.7°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#9FA4AB
RGBrgb(159, 164, 171)
HSLhsl(215, 7%, 65%)
HSVhsv(215, 7%, 67%)
CMYKcmyk(7%, 4.1%, 0%, 32.9%)
CIE-LABlab(67.17, -0.39, -4.23)
CIE-LCHlch(67.17, 4.25, 264.77°)
OKLaboklab(71.68% -0.0027 -0.0113)
OKLCHoklch(71.68% 0.012 256.7)
XYZxyz(34.9227, 36.8619, 43.7954)
Luminance0.3686 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA4AB #ABA69F
analogous
#9FAAAB #9FA4AB #A09FAB
triadic
#9FA4AB #AB9FA4 #A4AB9F
tetradic
#9FA4AB #AB9FAA #ABA69F #9FABA0
square
#9FA4AB #AB9FAA #ABA69F #9FABA0
split-complementary
#9FA4AB #ABA09F #AAAB9F
monochromatic
#61676F #7E858E #9FA4AB #C0C3C8 #E0E2E4

Accessibility & contrast

On white

2.51
#9FA4AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#9FA4AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA4AB
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA4AB#FFFFFF#000000##000000
##9FA4AB1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2A4AB
Deuteranopia (green-blind)
#A1A3AB
Tritanopia (blue-blind)
#9CA5A6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9fa4ab;
/* rgb */ color: rgb(159, 164, 171);
/* oklch */ color: oklch(71.7% 0.012 256.7);
Tailwind
colors: {
  custom: {
    50: '#bbbfc4',
    500: '#9fa4ab',
    950: '#000000',
  },
}
SCSS
$custom: #9fa4ab;
$custom-light: #bbbfc4;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa4ab",
  "rgb": {
    "r": 159,
    "g": 164,
    "b": 171
  },
  "hsl": {
    "h": 215,
    "s": 6.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.71684,
    "c": 0.01164,
    "h": 256.7
  },
  "luminance": 0.36862
}

Semantic roles & 50–950 ramp

primary
#9FA4AB
secondary
#D5D3D1
accent
#785591
background
#FBFBFC
surface
#F6F6F8
border
#D0D0D1
text
#111212
muted
#808181

Preview Lab

Preview with #9FA4AB

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

Preview Lab → · Contrast checker → · Palette generator →

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