#9B9876#9B9876

#9B9876 is a light, muted yellow. Relative luminance 0.307; OKLCH L 67.3% C 0.048 H 103.4°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#9B9876
RGBrgb(155, 152, 118)
HSLhsl(55, 16%, 54%)
HSVhsv(55, 24%, 61%)
CMYKcmyk(0%, 1.9%, 23.9%, 39.2%)
CIE-LABlab(62.28, -4.67, 18.34)
CIE-LCHlch(62.28, 18.92, 104.28°)
OKLaboklab(67.32% -0.0111 0.0466)
OKLCHoklch(67.32% 0.048 103.4)
XYZxyz(28.0158, 30.7335, 21.5923)
Luminance0.3073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9876 #76799B
analogous
#9B8576 #9B9876 #8B9B76
triadic
#9B9876 #769B98 #98769B
tetradic
#9B9876 #769B85 #76799B #9B768B
square
#9B9876 #769B85 #76799B #9B768B
split-complementary
#9B9876 #768B9B #85769B
monochromatic
#575540 #7A7859 #9B9876 #B5B399 #CFCDBD

Accessibility & contrast

On white

2.94
#9B9876 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#9B9876 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B9876
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9876#FFFFFF#000000##000000
##9B98761.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E9574
Deuteranopia (green-blind)
#A09777
Tritanopia (blue-blind)
#A1938F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9b9876;
/* rgb */ color: rgb(155, 152, 118);
/* oklch */ color: oklch(67.3% 0.048 103.4);
Tailwind
colors: {
  custom: {
    50: '#b9b69d',
    500: '#9b9876',
    950: '#000000',
  },
}
SCSS
$custom: #9b9876;
$custom-light: #b9b69d;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9876",
  "rgb": {
    "r": 155,
    "g": 152,
    "b": 118
  },
  "hsl": {
    "h": 55.135,
    "s": 15.612,
    "l": 53.529
  },
  "oklch": {
    "l": 0.6732,
    "c": 0.04787,
    "h": 103.4
  },
  "luminance": 0.30733
}

Semantic roles & 50–950 ramp

primary
#9B9876
secondary
#AEB0BE
accent
#75B86F
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110E
muted
#80807E

Preview Lab

Preview with #9B9876

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

Preview Lab → · Contrast checker → · Palette generator →

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