#9B987A#9B987A

#9B987A is a light, muted yellow. Relative luminance 0.308; OKLCH L 67.4% C 0.042 H 102.7°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#9B987A
RGBrgb(155, 152, 122)
HSLhsl(55, 14%, 54%)
HSVhsv(55, 21%, 61%)
CMYKcmyk(0%, 1.9%, 21.3%, 39.2%)
CIE-LABlab(62.36, -4.06, 16.22)
CIE-LCHlch(62.36, 16.72, 104.06°)
OKLaboklab(67.41% -0.0094 0.0414)
OKLCHoklch(67.41% 0.042 102.7)
XYZxyz(28.2585, 30.8306, 22.8708)
Luminance0.3083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B987A #7A7D9B
analogous
#9B887A #9B987A #8E9B7A
triadic
#9B987A #7A9B98 #987A9B
tetradic
#9B987A #7A9B88 #7A7D9B #9B7A8E
square
#9B987A #7A9B88 #7A7D9B #9B7A8E
split-complementary
#9B987A #7A8E9B #887A9B
monochromatic
#585642 #7B785D #9B987A #B5B39D #D0CEC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B987A#FFFFFF#000000##000000
##9B987A1.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)
#9E9678
Deuteranopia (green-blind)
#9F987B
Tritanopia (blue-blind)
#A09490
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9b987a;
/* rgb */ color: rgb(155, 152, 122);
/* oklch */ color: oklch(67.4% 0.042 102.7);
Tailwind
colors: {
  custom: {
    50: '#b8b6a0',
    500: '#9b987a',
    950: '#000000',
  },
}
SCSS
$custom: #9b987a;
$custom-light: #b8b6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b987a",
  "rgb": {
    "r": 155,
    "g": 152,
    "b": 122
  },
  "hsl": {
    "h": 54.545,
    "s": 14.163,
    "l": 54.314
  },
  "oklch": {
    "l": 0.67412,
    "c": 0.04247,
    "h": 102.7
  },
  "luminance": 0.3083
}

Semantic roles & 50–950 ramp

primary
#9B987A
secondary
#B1B3BF
accent
#77B771
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110E
muted
#80807E

Preview Lab

Preview with #9B987A

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

Preview Lab → · Contrast checker → · Palette generator →

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