#9A997D#9A997D

#9A997D is a light, muted yellow. Relative luminance 0.311; OKLCH L 67.6% C 0.040 H 105.7°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#9A997D
RGBrgb(154, 153, 125)
HSLhsl(58, 13%, 55%)
HSVhsv(58, 19%, 60%)
CMYKcmyk(0%, 0.6%, 18.8%, 39.6%)
CIE-LABlab(62.62, -4.54, 14.89)
CIE-LCHlch(62.62, 15.57, 106.94°)
OKLaboklab(67.62% -0.0107 0.0382)
OKLCHoklch(67.62% 0.04 105.7)
XYZxyz(28.4191, 31.1335, 23.9103)
Luminance0.3113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A997D #7D7E9A
analogous
#9A8B7D #9A997D #8D9A7D
triadic
#9A997D #7D9A99 #997D9A
tetradic
#9A997D #7D9A8B #7D7E9A #9A7D8D
square
#9A997D #7D9A8B #7D7E9A #9A7D8D
split-complementary
#9A997D #7D8D9A #8B7D9A
monochromatic
#585744 #7B7A5F #9A997D #B5B49F #D0CFC2

Accessibility & contrast

On white

2.91
#9A997D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#9A997D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9A997D
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A997D#FFFFFF#000000##000000
##9A997D1.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E977B
Deuteranopia (green-blind)
#9F987E
Tritanopia (blue-blind)
#9F9591
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9a997d;
/* rgb */ color: rgb(154, 153, 125);
/* oklch */ color: oklch(67.6% 0.040 105.7);
Tailwind
colors: {
  custom: {
    50: '#b8b7a2',
    500: '#9a997d',
    950: '#000000',
  },
}
SCSS
$custom: #9a997d;
$custom-light: #b8b7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a997d",
  "rgb": {
    "r": 154,
    "g": 153,
    "b": 125
  },
  "hsl": {
    "h": 57.931,
    "s": 12.554,
    "l": 54.706
  },
  "oklch": {
    "l": 0.67615,
    "c": 0.03964,
    "h": 105.7
  },
  "luminance": 0.31133
}

Semantic roles & 50–950 ramp

primary
#9A997D
secondary
#B3B4C0
accent
#75B572
background
#FBFBFA
surface
#F6F6F3
border
#D0D0CD
text
#11110F
muted
#80807F

Preview Lab

Preview with #9A997D

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

Preview Lab → · Contrast checker → · Palette generator →

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