#9D997C#9D997C

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

Color values

HEX#9D997C
RGBrgb(157, 153, 124)
HSLhsl(53, 14%, 55%)
HSVhsv(53, 21%, 62%)
CMYKcmyk(0%, 2.5%, 21%, 38.4%)
CIE-LABlab(62.85, -3.52, 15.80)
CIE-LCHlch(62.85, 16.19, 102.54°)
OKLaboklab(67.85% -0.0078 0.0404)
OKLCHoklch(67.85% 0.041 100.9)
XYZxyz(28.9338, 31.4062, 23.6027)
Luminance0.3141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D997C #7C809D
analogous
#9D887C #9D997C #909D7C
triadic
#9D997C #7C9D99 #997C9D
tetradic
#9D997C #7C9D88 #7C809D #9D7C90
square
#9D997C #7C9D88 #7C809D #9D7C90
split-complementary
#9D997C #7C909D #887C9D
monochromatic
#5B5844 #7E7A5E #9D997C #B7B49F #D1D0C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D997C#FFFFFF#000000##000000
##9D997C1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d997c;
/* rgb */ color: rgb(157, 153, 124);
/* oklch */ color: oklch(67.8% 0.041 100.9);
Tailwind
colors: {
  custom: {
    50: '#bab7a2',
    500: '#9d997c',
    950: '#000000',
  },
}
SCSS
$custom: #9d997c;
$custom-light: #bab7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d997c",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 124
  },
  "hsl": {
    "h": 52.727,
    "s": 14.41,
    "l": 55.098
  },
  "oklch": {
    "l": 0.6785,
    "c": 0.04115,
    "h": 100.9
  },
  "luminance": 0.31406
}

Semantic roles & 50–950 ramp

primary
#9D997C
secondary
#B3B5C1
accent
#79B771
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110F
muted
#80807E

Preview Lab

Preview with #9D997C

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

Preview Lab → · Contrast checker → · Palette generator →

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