#9B997C#9B997C

#9B997C is a light, muted yellow. Relative luminance 0.312; OKLCH L 67.7% C 0.041 H 104.2°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#9B997C
RGBrgb(155, 153, 124)
HSLhsl(56, 13%, 55%)
HSVhsv(56, 20%, 61%)
CMYKcmyk(0%, 1.3%, 20%, 39.2%)
CIE-LABlab(62.68, -4.30, 15.55)
CIE-LCHlch(62.68, 16.13, 105.46°)
OKLaboklab(67.68% -0.01 0.0398)
OKLCHoklch(67.68% 0.041 104.2)
XYZxyz(28.5467, 31.2066, 23.5845)
Luminance0.3121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B997C #7C7E9B
analogous
#9B8A7C #9B997C #8E9B7C
triadic
#9B997C #7C9B99 #997C9B
tetradic
#9B997C #7C9B8A #7C7E9B #9B7C8E
square
#9B997C #7C9B8A #7C7E9B #9B7C8E
split-complementary
#9B997C #7C8E9B #8A7C9B
monochromatic
#595744 #7C7A5E #9B997C #B5B49F #D0CFC1

Accessibility & contrast

On white

2.90
#9B997C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#9B997C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B997C
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B997C#FFFFFF#000000##000000
##9B997C1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E977A
Deuteranopia (green-blind)
#9F987D
Tritanopia (blue-blind)
#A09591
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9b997c;
/* rgb */ color: rgb(155, 153, 124);
/* oklch */ color: oklch(67.7% 0.041 104.2);
Tailwind
colors: {
  custom: {
    50: '#b8b7a2',
    500: '#9b997c',
    950: '#000000',
  },
}
SCSS
$custom: #9b997c;
$custom-light: #b8b7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b997c",
  "rgb": {
    "r": 155,
    "g": 153,
    "b": 124
  },
  "hsl": {
    "h": 56.129,
    "s": 13.42,
    "l": 54.706
  },
  "oklch": {
    "l": 0.67677,
    "c": 0.04103,
    "h": 104.2
  },
  "luminance": 0.31206
}

Semantic roles & 50–950 ramp

primary
#9B997C
secondary
#B3B4C0
accent
#76B672
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110F
muted
#80807E

Preview Lab

Preview with #9B997C

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

Preview Lab → · Contrast checker → · Palette generator →

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