#9FA796#9FA796

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

Color values

HEX#9FA796
RGBrgb(159, 167, 150)
HSLhsl(88, 9%, 62%)
HSVhsv(88, 10%, 65%)
CMYKcmyk(4.8%, 0%, 10.2%, 34.5%)
CIE-LABlab(67.43, -6.02, 7.82)
CIE-LCHlch(67.43, 9.87, 127.58°)
OKLaboklab(71.71% -0.0157 0.0204)
OKLCHoklch(71.71% 0.026 127.7)
XYZxyz(33.6209, 37.2103, 34.2593)
Luminance0.3721 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA796 #9E96A7
analogous
#A7A696 #9FA796 #97A796
triadic
#9FA796 #969FA7 #A7969F
tetradic
#9FA796 #96A7A6 #9E96A7 #A79697
square
#9FA796 #96A7A6 #9E96A7 #A79697
split-complementary
#9FA796 #9697A7 #A696A7
monochromatic
#626A59 #818B75 #9FA796 #BDC3B7 #DCDFD9

Accessibility & contrast

On white

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

On black

8.44
#9FA796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA796
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA796#FFFFFF#000000##000000
##9FA7961.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fa796;
/* rgb */ color: rgb(159, 167, 150);
/* oklch */ color: oklch(71.7% 0.026 127.7);
Tailwind
colors: {
  custom: {
    50: '#bbc1b4',
    500: '#9fa796',
    950: '#000000',
  },
}
SCSS
$custom: #9fa796;
$custom-light: #bbc1b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa796",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 150
  },
  "hsl": {
    "h": 88.235,
    "s": 8.808,
    "l": 62.157
  },
  "oklch": {
    "l": 0.71707,
    "c": 0.02575,
    "h": 127.7
  },
  "luminance": 0.3721
}

Semantic roles & 50–950 ramp

primary
#9FA796
secondary
#CCC9D0
accent
#539371
background
#FBFBFB
surface
#F6F7F6
border
#D0D0D0
text
#111211
muted
#808180

Preview Lab

Preview with #9FA796

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

Preview Lab → · Contrast checker → · Palette generator →

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