#9C997F#9C997F

#9C997F is a light, muted yellow. Relative luminance 0.314; OKLCH L 67.8% C 0.037 H 101.9°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#9C997F
RGBrgb(156, 153, 127)
HSLhsl(54, 13%, 55%)
HSVhsv(54, 19%, 61%)
CMYKcmyk(0%, 1.9%, 18.6%, 38.8%)
CIE-LABlab(62.83, -3.44, 14.09)
CIE-LCHlch(62.83, 14.50, 103.72°)
OKLaboklab(67.84% -0.0076 0.0362)
OKLCHoklch(67.84% 0.037 101.9)
XYZxyz(28.9321, 31.3831, 24.6080)
Luminance0.3138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C997F #7F829C
analogous
#9C8A7F #9C997F #909C7F
triadic
#9C997F #7F9C99 #997F9C
tetradic
#9C997F #7F9C8A #7F829C #9C7F90
square
#9C997F #7F9C8A #7F829C #9C7F90
split-complementary
#9C997F #7F909C #8A7F9C
monochromatic
#5B5846 #7D7A61 #9C997F #B7B4A2 #D1D0C4

Accessibility & contrast

On white

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

On black

7.28
#9C997F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C997F
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C997F#FFFFFF#000000##000000
##9C997F1.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E977D
Deuteranopia (green-blind)
#9F9980
Tritanopia (blue-blind)
#A19592
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9c997f;
/* rgb */ color: rgb(156, 153, 127);
/* oklch */ color: oklch(67.8% 0.037 101.9);
Tailwind
colors: {
  custom: {
    50: '#b9b7a4',
    500: '#9c997f',
    950: '#000000',
  },
}
SCSS
$custom: #9c997f;
$custom-light: #b9b7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c997f",
  "rgb": {
    "r": 156,
    "g": 153,
    "b": 127
  },
  "hsl": {
    "h": 53.793,
    "s": 12.775,
    "l": 55.49
  },
  "oklch": {
    "l": 0.67835,
    "c": 0.03697,
    "h": 101.9
  },
  "luminance": 0.31383
}

Semantic roles & 50–950 ramp

primary
#9C997F
secondary
#B5B7C1
accent
#79B672
background
#FBFBFA
surface
#F6F6F4
border
#D0D0CE
text
#11110F
muted
#80807F

Preview Lab

Preview with #9C997F

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

Preview Lab → · Contrast checker → · Palette generator →

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