#9D996E#9D996E

#9D996E is a light, muted yellow. Relative luminance 0.311; OKLCH L 67.5% C 0.060 H 103.4°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#9D996E
RGBrgb(157, 153, 110)
HSLhsl(55, 19%, 52%)
HSVhsv(55, 30%, 62%)
CMYKcmyk(0%, 2.5%, 29.9%, 38.4%)
CIE-LABlab(62.57, -5.54, 23.19)
CIE-LCHlch(62.57, 23.84, 103.45°)
OKLaboklab(67.54% -0.0138 0.0581)
OKLCHoklch(67.54% 0.06 103.4)
XYZxyz(28.1105, 31.0769, 19.2664)
Luminance0.3108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D996E #6E729D
analogous
#9D826E #9D996E #899D6E
triadic
#9D996E #6E9D99 #996E9D
tetradic
#9D996E #6E9D82 #6E729D #9D6E89
square
#9D996E #6E9D82 #6E729D #9D6E89
split-complementary
#9D996E #6E899D #826E9D
monochromatic
#56543A #7B7753 #9D996E #B6B393 #CECCB7

Accessibility & contrast

On white

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

On black

7.22
#9D996E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D996E
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D996E#FFFFFF#000000##000000
##9D996E1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1966B
Deuteranopia (green-blind)
#A29870
Tritanopia (blue-blind)
#A4938E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9d996e;
/* rgb */ color: rgb(157, 153, 110);
/* oklch */ color: oklch(67.5% 0.060 103.4);
Tailwind
colors: {
  custom: {
    50: '#bab798',
    500: '#9d996e',
    950: '#000000',
  },
}
SCSS
$custom: #9d996e;
$custom-light: #bab798;
$custom-dark: #000000;
JSON
{
  "hex": "#9d996e",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 110
  },
  "hsl": {
    "h": 54.894,
    "s": 19.342,
    "l": 52.353
  },
  "oklch": {
    "l": 0.6754,
    "c": 0.05971,
    "h": 103.4
  },
  "luminance": 0.31076
}

Semantic roles & 50–950 ramp

primary
#9D996E
secondary
#A9ABBE
accent
#73BC6C
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#12110D
muted
#81807E

Preview Lab

Preview with #9D996E

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

Preview Lab → · Contrast checker → · Palette generator →

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