#9D997A#9D997A

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

Color values

HEX#9D997A
RGBrgb(157, 153, 122)
HSLhsl(53, 15%, 55%)
HSVhsv(53, 22%, 62%)
CMYKcmyk(0%, 2.5%, 22.3%, 38.4%)
CIE-LABlab(62.81, -3.82, 16.86)
CIE-LCHlch(62.81, 17.29, 102.77°)
OKLaboklab(67.8% -0.0086 0.043)
OKLCHoklch(67.8% 0.044 101.4)
XYZxyz(28.8086, 31.3562, 22.9433)
Luminance0.3136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D997A #7A7E9D
analogous
#9D887A #9D997A #909D7A
triadic
#9D997A #7A9D99 #997A9D
tetradic
#9D997A #7A9D88 #7A7E9D #9D7A90
square
#9D997A #7A9D88 #7A7E9D #9D7A90
split-complementary
#9D997A #7A909D #887A9D
monochromatic
#5A5742 #7D7A5C #9D997A #B7B49D #D1CFC0

Accessibility & contrast

On white

2.89
#9D997A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#9D997A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D997A
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D997A#FFFFFF#000000##000000
##9D997A1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F9778
Deuteranopia (green-blind)
#A0997B
Tritanopia (blue-blind)
#A39590
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9d997a;
/* rgb */ color: rgb(157, 153, 122);
/* oklch */ color: oklch(67.8% 0.044 101.4);
Tailwind
colors: {
  custom: {
    50: '#bab7a0',
    500: '#9d997a',
    950: '#000000',
  },
}
SCSS
$custom: #9d997a;
$custom-light: #bab7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d997a",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 122
  },
  "hsl": {
    "h": 53.143,
    "s": 15.152,
    "l": 54.706
  },
  "oklch": {
    "l": 0.67803,
    "c": 0.04386,
    "h": 101.4
  },
  "luminance": 0.31356
}

Semantic roles & 50–950 ramp

primary
#9D997A
secondary
#B2B4C1
accent
#78B870
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110E
muted
#80807E

Preview Lab

Preview with #9D997A

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

Preview Lab → · Contrast checker → · Palette generator →

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