#9D996C#9D996C

#9D996C is a light, moderate yellow. Relative luminance 0.310; OKLCH L 67.5% C 0.062 H 103.6°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#9D996C
RGBrgb(157, 153, 108)
HSLhsl(55, 20%, 52%)
HSVhsv(55, 31%, 62%)
CMYKcmyk(0%, 2.5%, 31.2%, 38.4%)
CIE-LABlab(62.54, -5.81, 24.24)
CIE-LCHlch(62.54, 24.93, 103.49°)
OKLaboklab(67.5% -0.0147 0.0605)
OKLCHoklch(67.5% 0.062 103.6)
XYZxyz(28.0028, 31.0338, 18.6994)
Luminance0.3103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D996C #6C709D
analogous
#9D816C #9D996C #899D6C
triadic
#9D996C #6C9D99 #996C9D
tetradic
#9D996C #6C9D81 #6C709D #9D6C89
square
#9D996C #6C9D81 #6C709D #9D6C89
split-complementary
#9D996C #6C899D #816C9D
monochromatic
#565339 #7A7752 #9D996C #B5B291 #CECCB5

Accessibility & contrast

On white

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

On black

7.21
#9D996C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D996C
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D996C#FFFFFF#000000##000000
##9D996C1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19669
Deuteranopia (green-blind)
#A3986E
Tritanopia (blue-blind)
#A4938D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9d996c;
/* rgb */ color: rgb(157, 153, 108);
/* oklch */ color: oklch(67.5% 0.062 103.6);
Tailwind
colors: {
  custom: {
    50: '#bab796',
    500: '#9d996c',
    950: '#000000',
  },
}
SCSS
$custom: #9d996c;
$custom-light: #bab796;
$custom-dark: #000000;
JSON
{
  "hex": "#9d996c",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 108
  },
  "hsl": {
    "h": 55.102,
    "s": 20,
    "l": 51.961
  },
  "oklch": {
    "l": 0.67499,
    "c": 0.06229,
    "h": 103.6
  },
  "luminance": 0.31033
}

Semantic roles & 50–950 ramp

primary
#9D996C
secondary
#A8A9BD
accent
#72BD6B
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#12110D
muted
#81807E

Preview Lab

Preview with #9D996C

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

Preview Lab → · Contrast checker → · Palette generator →

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