#9FA17D#9FA17D

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

Color values

HEX#9FA17D
RGBrgb(159, 161, 125)
HSLhsl(63, 16%, 56%)
HSVhsv(63, 22%, 63%)
CMYKcmyk(1.2%, 0%, 22.4%, 36.9%)
CIE-LABlab(65.23, -6.92, 18.56)
CIE-LCHlch(65.23, 19.81, 110.43°)
OKLaboklab(69.78% -0.0174 0.0472)
OKLCHoklch(69.78% 0.05 110.3)
XYZxyz(30.7444, 34.3416, 24.4070)
Luminance0.3434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA17D #7F7DA1
analogous
#A1917D #9FA17D #8DA17D
triadic
#9FA17D #7D9FA1 #A17D9F
tetradic
#9FA17D #7DA191 #7F7DA1 #A17D8D
square
#9FA17D #7DA191 #7F7DA1 #A17D8D
split-complementary
#9FA17D #7D8DA1 #917DA1
monochromatic
#5D5F45 #80825E #9FA17D #B9BBA1 #D3D4C4

Accessibility & contrast

On white

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

On black

7.87
#9FA17D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA17D
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA17D#FFFFFF#000000##000000
##9FA17D1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79E7B
Deuteranopia (green-blind)
#A79F7E
Tritanopia (blue-blind)
#A49D97
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9fa17d;
/* rgb */ color: rgb(159, 161, 125);
/* oklch */ color: oklch(69.8% 0.050 110.3);
Tailwind
colors: {
  custom: {
    50: '#bbbca2',
    500: '#9fa17d',
    950: '#000000',
  },
}
SCSS
$custom: #9fa17d;
$custom-light: #bbbca2;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa17d",
  "rgb": {
    "r": 159,
    "g": 161,
    "b": 125
  },
  "hsl": {
    "h": 63.333,
    "s": 16.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.69782,
    "c": 0.05032,
    "h": 110.3
  },
  "luminance": 0.34341
}

Semantic roles & 50–950 ramp

primary
#9FA17D
secondary
#B6B5C4
accent
#6FB973
background
#FBFBFA
surface
#F6F6F3
border
#D0D0CD
text
#12120F
muted
#81817F

Preview Lab

Preview with #9FA17D

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

Preview Lab → · Contrast checker → · Palette generator →

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