#9FA17C#9FA17C

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

Color values

HEX#9FA17C
RGBrgb(159, 161, 124)
HSLhsl(63, 16%, 56%)
HSVhsv(63, 23%, 63%)
CMYKcmyk(1.2%, 0%, 23%, 36.9%)
CIE-LABlab(65.21, -7.07, 19.09)
CIE-LCHlch(65.21, 20.35, 110.31°)
OKLaboklab(69.76% -0.0179 0.0485)
OKLCHoklch(69.76% 0.052 110.2)
XYZxyz(30.6809, 34.3162, 24.0723)
Luminance0.3432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA17C #7E7CA1
analogous
#A1907C #9FA17C #8CA17C
triadic
#9FA17C #7C9FA1 #A17C9F
tetradic
#9FA17C #7CA190 #7E7CA1 #A17C8C
square
#9FA17C #7CA190 #7E7CA1 #A17C8C
split-complementary
#9FA17C #7C8CA1 #907CA1
monochromatic
#5D5F44 #80825D #9FA17C #B9BBA0 #D3D4C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA17C#FFFFFF#000000##000000
##9FA17C1.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)
#A79E7A
Deuteranopia (green-blind)
#A79F7D
Tritanopia (blue-blind)
#A49C97
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9fa17c;
/* rgb */ color: rgb(159, 161, 124);
/* oklch */ color: oklch(69.8% 0.052 110.2);
Tailwind
colors: {
  custom: {
    50: '#bbbca2',
    500: '#9fa17c',
    950: '#000000',
  },
}
SCSS
$custom: #9fa17c;
$custom-light: #bbbca2;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa17c",
  "rgb": {
    "r": 159,
    "g": 161,
    "b": 124
  },
  "hsl": {
    "h": 63.243,
    "s": 16.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.6976,
    "c": 0.05165,
    "h": 110.2
  },
  "luminance": 0.34316
}

Semantic roles & 50–950 ramp

primary
#9FA17C
secondary
#B6B5C4
accent
#6FB973
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#12120F
muted
#81817E

Preview Lab

Preview with #9FA17C

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

Preview Lab → · Contrast checker → · Palette generator →

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