#9B9976#9B9976

#9B9976 is a light, muted yellow. Relative luminance 0.311; OKLCH L 67.5% C 0.049 H 104.9°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#9B9976
RGBrgb(155, 153, 118)
HSLhsl(57, 16%, 54%)
HSVhsv(57, 24%, 61%)
CMYKcmyk(0%, 1.3%, 23.9%, 39.2%)
CIE-LABlab(62.56, -5.21, 18.72)
CIE-LCHlch(62.56, 19.43, 105.56°)
OKLaboklab(67.54% -0.0126 0.0475)
OKLCHoklch(67.54% 0.049 104.9)
XYZxyz(28.1788, 31.0594, 21.6467)
Luminance0.3106 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9976 #76789B
analogous
#9B8676 #9B9976 #8A9B76
triadic
#9B9976 #769B99 #99769B
tetradic
#9B9976 #769B86 #76789B #9B768A
square
#9B9976 #769B86 #76789B #9B768A
split-complementary
#9B9976 #768A9B #86769B
monochromatic
#575640 #7A7959 #9B9976 #B5B399 #CFCEBD

Accessibility & contrast

On white

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

On black

7.21
#9B9976 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B9976
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9976#FFFFFF#000000##000000
##9B99761.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F9674
Deuteranopia (green-blind)
#A09877
Tritanopia (blue-blind)
#A19490
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9b9976;
/* rgb */ color: rgb(155, 153, 118);
/* oklch */ color: oklch(67.5% 0.049 104.9);
Tailwind
colors: {
  custom: {
    50: '#b9b79d',
    500: '#9b9976',
    950: '#000000',
  },
}
SCSS
$custom: #9b9976;
$custom-light: #b9b79d;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9976",
  "rgb": {
    "r": 155,
    "g": 153,
    "b": 118
  },
  "hsl": {
    "h": 56.757,
    "s": 15.612,
    "l": 53.529
  },
  "oklch": {
    "l": 0.67538,
    "c": 0.04915,
    "h": 104.9
  },
  "luminance": 0.31059
}

Semantic roles & 50–950 ramp

primary
#9B9976
secondary
#AEAFBE
accent
#73B86F
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110E
muted
#80807E

Preview Lab

Preview with #9B9976

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

Preview Lab → · Contrast checker → · Palette generator →

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