#9F9971#9F9971

#9F9971 is a light, muted yellow. Relative luminance 0.313; OKLCH L 67.8% C 0.056 H 100.6°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#9F9971
RGBrgb(159, 153, 113)
HSLhsl(52, 19%, 53%)
HSVhsv(52, 29%, 62%)
CMYKcmyk(0%, 3.8%, 28.9%, 37.6%)
CIE-LABlab(62.80, -4.32, 21.87)
CIE-LCHlch(62.80, 22.29, 101.19°)
OKLaboklab(67.78% -0.0102 0.055)
OKLCHoklch(67.78% 0.056 100.6)
XYZxyz(28.6701, 31.3462, 20.1597)
Luminance0.3135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9971 #71779F
analogous
#9F8271 #9F9971 #8E9F71
triadic
#9F9971 #719F99 #99719F
tetradic
#9F9971 #719F82 #71779F #9F718E
square
#9F9971 #719F82 #71779F #9F718E
split-complementary
#9F9971 #718E9F #82719F
monochromatic
#59553C #7E7855 #9F9971 #B8B396 #D0CDBA

Accessibility & contrast

On white

2.89
#9F9971 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#9F9971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9971
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9971#FFFFFF#000000##000000
##9F99711.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1966E
Deuteranopia (green-blind)
#A39972
Tritanopia (blue-blind)
#A6938E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9f9971;
/* rgb */ color: rgb(159, 153, 113);
/* oklch */ color: oklch(67.8% 0.056 100.6);
Tailwind
colors: {
  custom: {
    50: '#bcb79a',
    500: '#9f9971',
    950: '#000000',
  },
}
SCSS
$custom: #9f9971;
$custom-light: #bcb79a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9971",
  "rgb": {
    "r": 159,
    "g": 153,
    "b": 113
  },
  "hsl": {
    "h": 52.174,
    "s": 19.328,
    "l": 53.333
  },
  "oklch": {
    "l": 0.67779,
    "c": 0.05596,
    "h": 100.6
  },
  "luminance": 0.31346
}

Semantic roles & 50–950 ramp

primary
#9F9971
secondary
#ACAFC0
accent
#76BC6C
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#12110E
muted
#81807E

Preview Lab

Preview with #9F9971

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

Preview Lab → · Contrast checker → · Palette generator →

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