#9FA797#9FA797

#9FA797 is a light, muted yellow-green. Relative luminance 0.372; OKLCH L 71.7% C 0.024 H 128.8°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#9FA797
RGBrgb(159, 167, 151)
HSLhsl(90, 8%, 62%)
HSVhsv(90, 10%, 65%)
CMYKcmyk(4.8%, 0%, 9.6%, 34.5%)
CIE-LABlab(67.46, -5.84, 7.30)
CIE-LCHlch(67.46, 9.35, 128.65°)
OKLaboklab(71.73% -0.0153 0.019)
OKLCHoklch(71.73% 0.024 128.8)
XYZxyz(33.7018, 37.2426, 34.6852)
Luminance0.3724 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA797 #9F97A7
analogous
#A7A797 #9FA797 #97A797
triadic
#9FA797 #979FA7 #A7979F
tetradic
#9FA797 #97A7A7 #9F97A7 #A79797
square
#9FA797 #97A7A7 #9F97A7 #A79797
split-complementary
#9FA797 #9797A7 #A797A7
monochromatic
#626A5A #808B76 #9FA797 #BEC3B8 #DCDFD9

Accessibility & contrast

On white

2.49
#9FA797 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#9FA797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA797
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA797#FFFFFF#000000##000000
##9FA7971.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9A596
Deuteranopia (green-blind)
#A8A498
Tritanopia (blue-blind)
#A0A5A2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9fa797;
/* rgb */ color: rgb(159, 167, 151);
/* oklch */ color: oklch(71.7% 0.024 128.8);
Tailwind
colors: {
  custom: {
    50: '#bbc1b5',
    500: '#9fa797',
    950: '#000000',
  },
}
SCSS
$custom: #9fa797;
$custom-light: #bbc1b5;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa797",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 151
  },
  "hsl": {
    "h": 90,
    "s": 8.333,
    "l": 62.353
  },
  "oklch": {
    "l": 0.71734,
    "c": 0.02444,
    "h": 128.8
  },
  "luminance": 0.37243
}

Semantic roles & 50–950 ramp

primary
#9FA797
secondary
#CDCAD0
accent
#539273
background
#FBFBFB
surface
#F6F7F6
border
#D0D0D0
text
#111211
muted
#808180

Preview Lab

Preview with #9FA797

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

Preview Lab → · Contrast checker → · Palette generator →

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