#9B996B#9B996B

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

Color values

HEX#9B996B
RGBrgb(155, 153, 107)
HSLhsl(58, 19%, 51%)
HSVhsv(58, 31%, 61%)
CMYKcmyk(0%, 1.3%, 31%, 39.2%)
CIE-LABlab(62.35, -6.76, 24.51)
CIE-LCHlch(62.35, 25.42, 105.42°)
OKLaboklab(67.31% -0.0174 0.0612)
OKLCHoklch(67.31% 0.064 105.9)
XYZxyz(27.5628, 30.8131, 18.4026)
Luminance0.3081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B996B #6B6D9B
analogous
#9B816B #9B996B #859B6B
triadic
#9B996B #6B9B99 #996B9B
tetradic
#9B996B #6B9B81 #6B6D9B #9B6B85
square
#9B996B #6B9B81 #6B6D9B #9B6B85
split-complementary
#9B996B #6B859B #816B9B
monochromatic
#535238 #787651 #9B996B #B4B290 #CCCBB4

Accessibility & contrast

On white

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

On black

7.16
#9B996B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B996B
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B996B#FFFFFF#000000##000000
##9B996B1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b996b;
/* rgb */ color: rgb(155, 153, 107);
/* oklch */ color: oklch(67.3% 0.064 105.9);
Tailwind
colors: {
  custom: {
    50: '#b9b795',
    500: '#9b996b',
    950: '#000000',
  },
}
SCSS
$custom: #9b996b;
$custom-light: #b9b795;
$custom-dark: #000000;
JSON
{
  "hex": "#9b996b",
  "rgb": {
    "r": 155,
    "g": 153,
    "b": 107
  },
  "hsl": {
    "h": 57.5,
    "s": 19.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.67305,
    "c": 0.06358,
    "h": 105.9
  },
  "luminance": 0.30813
}

Semantic roles & 50–950 ramp

primary
#9B996B
secondary
#A6A7BB
accent
#6FBC6C
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110D
muted
#80807E

Preview Lab

Preview with #9B996B

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

Preview Lab → · Contrast checker → · Palette generator →

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