#9FA17A#9FA17A

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

Color values

HEX#9FA17A
RGBrgb(159, 161, 122)
HSLhsl(63, 17%, 55%)
HSVhsv(63, 24%, 63%)
CMYKcmyk(1.2%, 0%, 24.2%, 36.9%)
CIE-LABlab(65.17, -7.36, 20.13)
CIE-LCHlch(65.17, 21.44, 110.09°)
OKLaboklab(69.72% -0.0187 0.051)
OKLCHoklch(69.72% 0.054 110.2)
XYZxyz(30.5557, 34.2661, 23.4129)
Luminance0.3427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA17A #7C7AA1
analogous
#A18F7A #9FA17A #8BA17A
triadic
#9FA17A #7A9FA1 #A17A9F
tetradic
#9FA17A #7AA18F #7C7AA1 #A17A8B
square
#9FA17A #7AA18F #7C7AA1 #A17A8B
split-complementary
#9FA17A #7A8BA1 #8F7AA1
monochromatic
#5D5E43 #80825C #9FA17A #B9BA9E #D3D4C2

Accessibility & contrast

On white

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

On black

7.85
#9FA17A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA17A
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA17A#FFFFFF#000000##000000
##9FA17A1.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79D78
Deuteranopia (green-blind)
#A89F7B
Tritanopia (blue-blind)
#A49C96
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9fa17a;
/* rgb */ color: rgb(159, 161, 122);
/* oklch */ color: oklch(69.7% 0.054 110.2);
Tailwind
colors: {
  custom: {
    50: '#bbbca0',
    500: '#9fa17a',
    950: '#000000',
  },
}
SCSS
$custom: #9fa17a;
$custom-light: #bbbca0;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa17a",
  "rgb": {
    "r": 159,
    "g": 161,
    "b": 122
  },
  "hsl": {
    "h": 63.077,
    "s": 17.181,
    "l": 55.49
  },
  "oklch": {
    "l": 0.69715,
    "c": 0.05431,
    "h": 110.2
  },
  "luminance": 0.34266
}

Semantic roles & 50–950 ramp

primary
#9FA17A
secondary
#B4B3C4
accent
#6EBA72
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #9FA17A

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

Preview Lab → · Contrast checker → · Palette generator →

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