#9D996F#9D996F

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

Color values

HEX#9D996F
RGBrgb(157, 153, 111)
HSLhsl(55, 19%, 53%)
HSVhsv(55, 29%, 62%)
CMYKcmyk(0%, 2.5%, 29.3%, 38.4%)
CIE-LABlab(62.59, -5.41, 22.66)
CIE-LCHlch(62.59, 23.30, 103.42°)
OKLaboklab(67.56% -0.0134 0.0569)
OKLCHoklch(67.56% 0.058 103.3)
XYZxyz(28.1653, 31.0988, 19.5548)
Luminance0.3110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D996F #6F739D
analogous
#9D826F #9D996F #8A9D6F
triadic
#9D996F #6F9D99 #996F9D
tetradic
#9D996F #6F9D82 #6F739D #9D6F8A
square
#9D996F #6F9D82 #6F739D #9D6F8A
split-complementary
#9D996F #6F8A9D #826F9D
monochromatic
#57543B #7B7854 #9D996F #B6B393 #CFCDB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D996F#FFFFFF#000000##000000
##9D996F1.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)
#A1966C
Deuteranopia (green-blind)
#A29871
Tritanopia (blue-blind)
#A4938E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9d996f;
/* rgb */ color: rgb(157, 153, 111);
/* oklch */ color: oklch(67.6% 0.058 103.3);
Tailwind
colors: {
  custom: {
    50: '#bab798',
    500: '#9d996f',
    950: '#000000',
  },
}
SCSS
$custom: #9d996f;
$custom-light: #bab798;
$custom-dark: #000000;
JSON
{
  "hex": "#9d996f",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 111
  },
  "hsl": {
    "h": 54.783,
    "s": 19.008,
    "l": 52.549
  },
  "oklch": {
    "l": 0.67561,
    "c": 0.05843,
    "h": 103.3
  },
  "luminance": 0.31098
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D996F

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

Preview Lab → · Contrast checker → · Palette generator →

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