#9FA795#9FA795

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

Color values

HEX#9FA795
RGBrgb(159, 167, 149)
HSLhsl(87, 9%, 62%)
HSVhsv(87, 11%, 65%)
CMYKcmyk(4.8%, 0%, 10.8%, 34.5%)
CIE-LABlab(67.41, -6.20, 8.34)
CIE-LCHlch(67.41, 10.39, 126.61°)
OKLaboklab(71.68% -0.0162 0.0217)
OKLCHoklch(71.68% 0.027 126.7)
XYZxyz(33.5408, 37.1782, 33.8370)
Luminance0.3718 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA795 #9D95A7
analogous
#A7A695 #9FA795 #96A795
triadic
#9FA795 #959FA7 #A7959F
tetradic
#9FA795 #95A7A6 #9D95A7 #A79596
square
#9FA795 #95A7A6 #9D95A7 #A79596
split-complementary
#9FA795 #9596A7 #A695A7
monochromatic
#626A58 #818B74 #9FA795 #BDC3B6 #DCDFD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA795#FFFFFF#000000##000000
##9FA7951.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)
#A9A494
Deuteranopia (green-blind)
#A8A496
Tritanopia (blue-blind)
#A0A5A2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9fa795;
/* rgb */ color: rgb(159, 167, 149);
/* oklch */ color: oklch(71.7% 0.027 126.7);
Tailwind
colors: {
  custom: {
    50: '#bbc1b4',
    500: '#9fa795',
    950: '#000000',
  },
}
SCSS
$custom: #9fa795;
$custom-light: #bbc1b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa795",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 149
  },
  "hsl": {
    "h": 86.667,
    "s": 9.278,
    "l": 61.961
  },
  "oklch": {
    "l": 0.7168,
    "c": 0.02708,
    "h": 126.7
  },
  "luminance": 0.37178
}

Semantic roles & 50–950 ramp

primary
#9FA795
secondary
#CCC9CF
accent
#52936F
background
#FBFBFB
surface
#F6F7F6
border
#D0D0D0
text
#111211
muted
#808180

Preview Lab

Preview with #9FA795

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

Preview Lab → · Contrast checker → · Palette generator →

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