#9D997D#9D997D

#9D997D is a light, muted yellow. Relative luminance 0.314; OKLCH L 67.9% C 0.040 H 100.6°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#9D997D
RGBrgb(157, 153, 125)
HSLhsl(53, 14%, 55%)
HSVhsv(53, 20%, 62%)
CMYKcmyk(0%, 2.5%, 20.4%, 38.4%)
CIE-LABlab(62.87, -3.36, 15.28)
CIE-LCHlch(62.87, 15.64, 102.41°)
OKLaboklab(67.87% -0.0073 0.0391)
OKLCHoklch(67.87% 0.04 100.6)
XYZxyz(28.9974, 31.4317, 23.9374)
Luminance0.3143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D997D #7D819D
analogous
#9D897D #9D997D #919D7D
triadic
#9D997D #7D9D99 #997D9D
tetradic
#9D997D #7D9D89 #7D819D #9D7D91
square
#9D997D #7D9D89 #7D819D #9D7D91
split-complementary
#9D997D #7D919D #897D9D
monochromatic
#5B5845 #7E7A5F #9D997D #B7B4A0 #D2D0C3

Accessibility & contrast

On white

2.88
#9D997D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#9D997D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D997D
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D997D#FFFFFF#000000##000000
##9D997D1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F977B
Deuteranopia (green-blind)
#A0997E
Tritanopia (blue-blind)
#A29591
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9d997d;
/* rgb */ color: rgb(157, 153, 125);
/* oklch */ color: oklch(67.9% 0.040 100.6);
Tailwind
colors: {
  custom: {
    50: '#bab7a2',
    500: '#9d997d',
    950: '#000000',
  },
}
SCSS
$custom: #9d997d;
$custom-light: #bab7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d997d",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 125
  },
  "hsl": {
    "h": 52.5,
    "s": 14.035,
    "l": 55.294
  },
  "oklch": {
    "l": 0.67873,
    "c": 0.0398,
    "h": 100.6
  },
  "luminance": 0.31431
}

Semantic roles & 50–950 ramp

primary
#9D997D
secondary
#B4B6C2
accent
#7AB771
background
#FBFBFA
surface
#F6F6F3
border
#D0D0CD
text
#11110F
muted
#80807F

Preview Lab

Preview with #9D997D

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

Preview Lab → · Contrast checker → · Palette generator →

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