#9D997E#9D997E

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

Color values

HEX#9D997E
RGBrgb(157, 153, 126)
HSLhsl(52, 14%, 55%)
HSVhsv(52, 20%, 62%)
CMYKcmyk(0%, 2.5%, 19.7%, 38.4%)
CIE-LABlab(62.89, -3.21, 14.75)
CIE-LCHlch(62.89, 15.09, 102.26°)
OKLaboklab(67.9% -0.0069 0.0378)
OKLCHoklch(67.9% 0.038 100.4)
XYZxyz(29.0616, 31.4573, 24.2755)
Luminance0.3146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D997E #7E829D
analogous
#9D897E #9D997E #919D7E
triadic
#9D997E #7E9D99 #997E9D
tetradic
#9D997E #7E9D89 #7E829D #9D7E91
square
#9D997E #7E9D89 #7E829D #9D7E91
split-complementary
#9D997E #7E919D #897E9D
monochromatic
#5B5845 #7E7A60 #9D997E #B7B4A1 #D2D0C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D997E#FFFFFF#000000##000000
##9D997E1.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)
#9E977C
Deuteranopia (green-blind)
#A0997F
Tritanopia (blue-blind)
#A29591
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9d997e;
/* rgb */ color: rgb(157, 153, 126);
/* oklch */ color: oklch(67.9% 0.038 100.4);
Tailwind
colors: {
  custom: {
    50: '#bab7a3',
    500: '#9d997e',
    950: '#000000',
  },
}
SCSS
$custom: #9d997e;
$custom-light: #bab7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d997e",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 126
  },
  "hsl": {
    "h": 52.258,
    "s": 13.656,
    "l": 55.49
  },
  "oklch": {
    "l": 0.67897,
    "c": 0.03844,
    "h": 100.4
  },
  "luminance": 0.31457
}

Semantic roles & 50–950 ramp

primary
#9D997E
secondary
#B5B7C2
accent
#7AB671
background
#FBFBFA
surface
#F6F6F3
border
#D0D0CD
text
#11110F
muted
#80807F

Preview Lab

Preview with #9D997E

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

Preview Lab → · Contrast checker → · Palette generator →

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