#9B996C#9B996C

#9B996C is a light, moderate yellow. Relative luminance 0.308; OKLCH L 67.3% C 0.062 H 105.8°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#9B996C
RGBrgb(155, 153, 108)
HSLhsl(57, 19%, 52%)
HSVhsv(57, 30%, 61%)
CMYKcmyk(0%, 1.3%, 30.3%, 39.2%)
CIE-LABlab(62.37, -6.63, 23.98)
CIE-LCHlch(62.37, 24.88, 105.45°)
OKLaboklab(67.33% -0.017 0.0599)
OKLCHoklch(67.33% 0.062 105.8)
XYZxyz(27.6157, 30.8342, 18.6813)
Luminance0.3083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B996C #6C6E9B
analogous
#9B826C #9B996C #869B6C
triadic
#9B996C #6C9B99 #996C9B
tetradic
#9B996C #6C9B82 #6C6E9B #9B6C86
square
#9B996C #6C9B82 #6C6E9B #9B6C86
split-complementary
#9B996C #6C869B #826C9B
monochromatic
#545339 #787652 #9B996C #B4B290 #CDCCB5

Accessibility & contrast

On white

2.93
#9B996C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#9B996C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B996C
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B996C#FFFFFF#000000##000000
##9B996C1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b996c;
/* rgb */ color: rgb(155, 153, 108);
/* oklch */ color: oklch(67.3% 0.062 105.8);
Tailwind
colors: {
  custom: {
    50: '#b9b796',
    500: '#9b996c',
    950: '#000000',
  },
}
SCSS
$custom: #9b996c;
$custom-light: #b9b796;
$custom-dark: #000000;
JSON
{
  "hex": "#9b996c",
  "rgb": {
    "r": 155,
    "g": 153,
    "b": 108
  },
  "hsl": {
    "h": 57.447,
    "s": 19.028,
    "l": 51.569
  },
  "oklch": {
    "l": 0.67325,
    "c": 0.0623,
    "h": 105.8
  },
  "luminance": 0.30834
}

Semantic roles & 50–950 ramp

primary
#9B996C
secondary
#A7A8BC
accent
#70BC6C
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110D
muted
#80807E

Preview Lab

Preview with #9B996C

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

Preview Lab → · Contrast checker → · Palette generator →

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