#9FA798#9FA798

#9FA798 is a light, muted grey. Relative luminance 0.373; OKLCH L 71.8% C 0.023 H 130.1°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#9FA798
RGBrgb(159, 167, 152)
HSLhsl(92, 8%, 63%)
HSVhsv(92, 9%, 65%)
CMYKcmyk(4.8%, 0%, 9%, 34.5%)
CIE-LABlab(67.48, -5.66, 6.78)
CIE-LCHlch(67.48, 8.83, 129.84°)
OKLaboklab(71.76% -0.0149 0.0177)
OKLCHoklch(71.76% 0.023 130.1)
XYZxyz(33.7834, 37.2753, 35.1147)
Luminance0.3728 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA798 #A098A7
analogous
#A6A798 #9FA798 #98A799
triadic
#9FA798 #989FA7 #A7989F
tetradic
#9FA798 #98A6A7 #A098A7 #A79998
square
#9FA798 #98A6A7 #A098A7 #A79998
split-complementary
#9FA798 #9998A7 #A798A6
monochromatic
#626A5B #808B77 #9FA798 #BEC3B9 #DDDFDA

Accessibility & contrast

On white

2.48
#9FA798 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#9FA798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA798
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA798#FFFFFF#000000##000000
##9FA7981.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9A597
Deuteranopia (green-blind)
#A7A499
Tritanopia (blue-blind)
#A0A6A3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9fa798;
/* rgb */ color: rgb(159, 167, 152);
/* oklch */ color: oklch(71.8% 0.023 130.1);
Tailwind
colors: {
  custom: {
    50: '#bbc1b6',
    500: '#9fa798',
    950: '#000000',
  },
}
SCSS
$custom: #9fa798;
$custom-light: #bbc1b6;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa798",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 152
  },
  "hsl": {
    "h": 92,
    "s": 7.853,
    "l": 62.549
  },
  "oklch": {
    "l": 0.71761,
    "c": 0.02314,
    "h": 130.1
  },
  "luminance": 0.37275
}

Semantic roles & 50–950 ramp

primary
#9FA798
secondary
#CECBD0
accent
#549275
background
#FBFBFB
surface
#F6F7F6
border
#D0D0D0
text
#111211
muted
#808180

Preview Lab

Preview with #9FA798

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

Preview Lab → · Contrast checker → · Palette generator →

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