#9FA17B#9FA17B

#9FA17B is a light, muted yellow. Relative luminance 0.343; OKLCH L 69.7% C 0.053 H 110.2°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#9FA17B
RGBrgb(159, 161, 123)
HSLhsl(63, 17%, 56%)
HSVhsv(63, 24%, 63%)
CMYKcmyk(1.2%, 0%, 23.6%, 36.9%)
CIE-LABlab(65.19, -7.22, 19.61)
CIE-LCHlch(65.19, 20.90, 110.20°)
OKLaboklab(69.74% -0.0183 0.0497)
OKLCHoklch(69.74% 0.053 110.2)
XYZxyz(30.6180, 34.2911, 23.7409)
Luminance0.3429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA17B #7D7BA1
analogous
#A1907B #9FA17B #8CA17B
triadic
#9FA17B #7B9FA1 #A17B9F
tetradic
#9FA17B #7BA190 #7D7BA1 #A17B8C
square
#9FA17B #7BA190 #7D7BA1 #A17B8C
split-complementary
#9FA17B #7B8CA1 #907BA1
monochromatic
#5D5E43 #80825D #9FA17B #B9BA9F #D3D4C2

Accessibility & contrast

On white

2.67
#9FA17B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#9FA17B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA17B
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA17B#FFFFFF#000000##000000
##9FA17B1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79E79
Deuteranopia (green-blind)
#A79F7C
Tritanopia (blue-blind)
#A49C97
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9fa17b;
/* rgb */ color: rgb(159, 161, 123);
/* oklch */ color: oklch(69.7% 0.053 110.2);
Tailwind
colors: {
  custom: {
    50: '#bbbca1',
    500: '#9fa17b',
    950: '#000000',
  },
}
SCSS
$custom: #9fa17b;
$custom-light: #bbbca1;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa17b",
  "rgb": {
    "r": 159,
    "g": 161,
    "b": 123
  },
  "hsl": {
    "h": 63.158,
    "s": 16.814,
    "l": 55.686
  },
  "oklch": {
    "l": 0.69737,
    "c": 0.05298,
    "h": 110.2
  },
  "luminance": 0.34291
}

Semantic roles & 50–950 ramp

primary
#9FA17B
secondary
#B5B4C4
accent
#6EBA72
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#12120F
muted
#81817E

Preview Lab

Preview with #9FA17B

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

Preview Lab → · Contrast checker → · Palette generator →

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