#9D996A#9D996A

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

Color values

HEX#9D996A
RGBrgb(157, 153, 106)
HSLhsl(55, 21%, 52%)
HSVhsv(55, 32%, 62%)
CMYKcmyk(0%, 2.5%, 32.5%, 38.4%)
CIE-LABlab(62.50, -6.08, 25.29)
CIE-LCHlch(62.50, 26.01, 103.52°)
OKLaboklab(67.46% -0.0155 0.063)
OKLCHoklch(67.46% 0.065 103.9)
XYZxyz(27.8976, 30.9917, 18.1453)
Luminance0.3099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D996A #6A6E9D
analogous
#9D806A #9D996A #889D6A
triadic
#9D996A #6A9D99 #996A9D
tetradic
#9D996A #6A9D80 #6A6E9D #9D6A88
square
#9D996A #6A9D80 #6A6E9D #9D6A88
split-complementary
#9D996A #6A889D #806A9D
monochromatic
#555338 #7A7650 #9D996A #B5B28F #CECCB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D996A#FFFFFF#000000##000000
##9D996A1.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)
#A19667
Deuteranopia (green-blind)
#A3986C
Tritanopia (blue-blind)
#A4938D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9d996a;
/* rgb */ color: rgb(157, 153, 106);
/* oklch */ color: oklch(67.5% 0.065 103.9);
Tailwind
colors: {
  custom: {
    50: '#bab795',
    500: '#9d996a',
    950: '#000000',
  },
}
SCSS
$custom: #9d996a;
$custom-light: #bab795;
$custom-dark: #000000;
JSON
{
  "hex": "#9d996a",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 106
  },
  "hsl": {
    "h": 55.294,
    "s": 20.648,
    "l": 51.569
  },
  "oklch": {
    "l": 0.6746,
    "c": 0.06484,
    "h": 103.9
  },
  "luminance": 0.30991
}

Semantic roles & 50–950 ramp

primary
#9D996A
secondary
#A6A8BD
accent
#71BD6B
background
#FBFBF9
surface
#F6F6F1
border
#D0D0CB
text
#12110D
muted
#81807E

Preview Lab

Preview with #9D996A

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

Preview Lab → · Contrast checker → · Palette generator →

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