#9B997E#9B997E

#9B997E is a light, muted yellow. Relative luminance 0.313; OKLCH L 67.7% C 0.038 H 103.9°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#9B997E
RGBrgb(155, 153, 126)
HSLhsl(56, 13%, 55%)
HSVhsv(56, 19%, 61%)
CMYKcmyk(0%, 1.3%, 18.7%, 39.2%)
CIE-LABlab(62.72, -3.99, 14.49)
CIE-LCHlch(62.72, 15.03, 105.39°)
OKLaboklab(67.73% -0.0092 0.0372)
OKLCHoklch(67.73% 0.038 103.9)
XYZxyz(28.6745, 31.2577, 24.2574)
Luminance0.3126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B997E #7E809B
analogous
#9B8A7E #9B997E #8E9B7E
triadic
#9B997E #7E9B99 #997E9B
tetradic
#9B997E #7E9B8A #7E809B #9B7E8E
square
#9B997E #7E9B8A #7E809B #9B7E8E
split-complementary
#9B997E #7E8E9B #8A7E9B
monochromatic
#595845 #7C7A60 #9B997E #B6B4A0 #D0D0C3

Accessibility & contrast

On white

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

On black

7.25
#9B997E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B997E
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B997E#FFFFFF#000000##000000
##9B997E1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b997e;
/* rgb */ color: rgb(155, 153, 126);
/* oklch */ color: oklch(67.7% 0.038 103.9);
Tailwind
colors: {
  custom: {
    50: '#b8b7a3',
    500: '#9b997e',
    950: '#000000',
  },
}
SCSS
$custom: #9b997e;
$custom-light: #b8b7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b997e",
  "rgb": {
    "r": 155,
    "g": 153,
    "b": 126
  },
  "hsl": {
    "h": 55.862,
    "s": 12.664,
    "l": 55.098
  },
  "oklch": {
    "l": 0.67725,
    "c": 0.03829,
    "h": 103.9
  },
  "luminance": 0.31257
}

Semantic roles & 50–950 ramp

primary
#9B997E
secondary
#B4B5C0
accent
#77B672
background
#FBFBFA
surface
#F6F6F3
border
#D0D0CD
text
#11110F
muted
#80807F

Preview Lab

Preview with #9B997E

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

Preview Lab → · Contrast checker → · Palette generator →

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