#9B9873#9B9873

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

Color values

HEX#9B9873
RGBrgb(155, 152, 115)
HSLhsl(56, 17%, 53%)
HSVhsv(56, 26%, 61%)
CMYKcmyk(0%, 1.9%, 25.8%, 39.2%)
CIE-LABlab(62.22, -5.11, 19.92)
CIE-LCHlch(62.22, 20.57, 104.37°)
OKLaboklab(67.25% -0.0124 0.0504)
OKLCHoklch(67.25% 0.052 103.8)
XYZxyz(27.8403, 30.6633, 20.6683)
Luminance0.3066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9873 #73769B
analogous
#9B8473 #9B9873 #8A9B73
triadic
#9B9873 #739B98 #98739B
tetradic
#9B9873 #739B84 #73769B #9B738A
square
#9B9873 #739B84 #73769B #9B738A
split-complementary
#9B9873 #738A9B #84739B
monochromatic
#56543D #7A7757 #9B9873 #B4B297 #CECDBA

Accessibility & contrast

On white

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

On black

7.13
#9B9873 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B9873
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9873#FFFFFF#000000##000000
##9B98731.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F9571
Deuteranopia (green-blind)
#A09774
Tritanopia (blue-blind)
#A1938E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9b9873;
/* rgb */ color: rgb(155, 152, 115);
/* oklch */ color: oklch(67.3% 0.052 103.8);
Tailwind
colors: {
  custom: {
    50: '#b9b69b',
    500: '#9b9873',
    950: '#000000',
  },
}
SCSS
$custom: #9b9873;
$custom-light: #b9b69b;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9873",
  "rgb": {
    "r": 155,
    "g": 152,
    "b": 115
  },
  "hsl": {
    "h": 55.5,
    "s": 16.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.67253,
    "c": 0.05187,
    "h": 103.8
  },
  "luminance": 0.30663
}

Semantic roles & 50–950 ramp

primary
#9B9873
secondary
#ACAEBE
accent
#74B96E
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110E
muted
#80807E

Preview Lab

Preview with #9B9873

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

Preview Lab → · Contrast checker → · Palette generator →

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