#9D996B#9D996B

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

Color values

HEX#9D996B
RGBrgb(157, 153, 107)
HSLhsl(55, 20%, 52%)
HSVhsv(55, 32%, 62%)
CMYKcmyk(0%, 2.5%, 31.8%, 38.4%)
CIE-LABlab(62.52, -5.95, 24.76)
CIE-LCHlch(62.52, 25.47, 103.51°)
OKLaboklab(67.48% -0.0151 0.0618)
OKLCHoklch(67.48% 0.064 103.7)
XYZxyz(27.9499, 31.0127, 18.4208)
Luminance0.3101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D996B #6B6F9D
analogous
#9D806B #9D996B #889D6B
triadic
#9D996B #6B9D99 #996B9D
tetradic
#9D996B #6B9D80 #6B6F9D #9D6B88
square
#9D996B #6B9D80 #6B6F9D #9D6B88
split-complementary
#9D996B #6B889D #806B9D
monochromatic
#555338 #7A7751 #9D996B #B5B290 #CECCB5

Accessibility & contrast

On white

2.92
#9D996B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#9D996B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D996B
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D996B#FFFFFF#000000##000000
##9D996B1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d996b;
/* rgb */ color: rgb(157, 153, 107);
/* oklch */ color: oklch(67.5% 0.064 103.7);
Tailwind
colors: {
  custom: {
    50: '#bab795',
    500: '#9d996b',
    950: '#000000',
  },
}
SCSS
$custom: #9d996b;
$custom-light: #bab795;
$custom-dark: #000000;
JSON
{
  "hex": "#9d996b",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 107
  },
  "hsl": {
    "h": 55.2,
    "s": 20.325,
    "l": 51.765
  },
  "oklch": {
    "l": 0.6748,
    "c": 0.06357,
    "h": 103.7
  },
  "luminance": 0.31012
}

Semantic roles & 50–950 ramp

primary
#9D996B
secondary
#A7A9BD
accent
#71BD6B
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#12110D
muted
#81807E

Preview Lab

Preview with #9D996B

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

Preview Lab → · Contrast checker → · Palette generator →

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