#9FA17F#9FA17F

#9FA17F is a light, muted yellow. Relative luminance 0.344; OKLCH L 69.8% C 0.048 H 110.3°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#9FA17F
RGBrgb(159, 161, 127)
HSLhsl(64, 15%, 56%)
HSVhsv(64, 21%, 63%)
CMYKcmyk(1.2%, 0%, 21.1%, 36.9%)
CIE-LABlab(65.27, -6.61, 17.52)
CIE-LCHlch(65.27, 18.72, 110.68°)
OKLaboklab(69.83% -0.0166 0.0447)
OKLCHoklch(69.83% 0.048 110.3)
XYZxyz(30.8735, 34.3933, 25.0867)
Luminance0.3439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA17F #817FA1
analogous
#A1927F #9FA17F #8EA17F
triadic
#9FA17F #7F9FA1 #A17F9F
tetradic
#9FA17F #7FA192 #817FA1 #A17F8E
square
#9FA17F #7FA192 #817FA1 #A17F8E
split-complementary
#9FA17F #7F8EA1 #927FA1
monochromatic
#5E5F46 #818360 #9FA17F #B9BBA2 #D4D5C6

Accessibility & contrast

On white

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

On black

7.88
#9FA17F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA17F
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA17F#FFFFFF#000000##000000
##9FA17F1.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79E7D
Deuteranopia (green-blind)
#A79F80
Tritanopia (blue-blind)
#A49D98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9fa17f;
/* rgb */ color: rgb(159, 161, 127);
/* oklch */ color: oklch(69.8% 0.048 110.3);
Tailwind
colors: {
  custom: {
    50: '#bbbca4',
    500: '#9fa17f',
    950: '#000000',
  },
}
SCSS
$custom: #9fa17f;
$custom-light: #bbbca4;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa17f",
  "rgb": {
    "r": 159,
    "g": 161,
    "b": 127
  },
  "hsl": {
    "h": 63.529,
    "s": 15.315,
    "l": 56.471
  },
  "oklch": {
    "l": 0.69828,
    "c": 0.04762,
    "h": 110.3
  },
  "luminance": 0.34393
}

Semantic roles & 50–950 ramp

primary
#9FA17F
secondary
#B8B7C5
accent
#70B874
background
#FBFBFA
surface
#F6F6F4
border
#D0D0CE
text
#12120F
muted
#81817F

Preview Lab

Preview with #9FA17F

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

Preview Lab → · Contrast checker → · Palette generator →

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