#9B987E#9B987E

#9B987E is a light, muted yellow. Relative luminance 0.309; OKLCH L 67.5% C 0.037 H 101.9°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#9B987E
RGBrgb(155, 152, 126)
HSLhsl(54, 13%, 55%)
HSVhsv(54, 19%, 61%)
CMYKcmyk(0%, 1.9%, 18.7%, 39.2%)
CIE-LABlab(62.45, -3.44, 14.11)
CIE-LCHlch(62.45, 14.52, 103.71°)
OKLaboklab(67.51% -0.0076 0.0362)
OKLCHoklch(67.51% 0.037 101.9)
XYZxyz(28.5115, 30.9318, 24.2031)
Luminance0.3093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B987E #7E819B
analogous
#9B897E #9B987E #909B7E
triadic
#9B987E #7E9B98 #987E9B
tetradic
#9B987E #7E9B89 #7E819B #9B7E90
square
#9B987E #7E9B89 #7E819B #9B7E90
split-complementary
#9B987E #7E909B #897E9B
monochromatic
#595745 #7C7960 #9B987E #B6B4A0 #D0CFC3

Accessibility & contrast

On white

2.92
#9B987E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#9B987E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B987E
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B987E#FFFFFF#000000##000000
##9B987E1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D967C
Deuteranopia (green-blind)
#9E987F
Tritanopia (blue-blind)
#A09491
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9b987e;
/* rgb */ color: rgb(155, 152, 126);
/* oklch */ color: oklch(67.5% 0.037 101.9);
Tailwind
colors: {
  custom: {
    50: '#b8b6a3',
    500: '#9b987e',
    950: '#000000',
  },
}
SCSS
$custom: #9b987e;
$custom-light: #b8b6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b987e",
  "rgb": {
    "r": 155,
    "g": 152,
    "b": 126
  },
  "hsl": {
    "h": 53.793,
    "s": 12.664,
    "l": 55.098
  },
  "oklch": {
    "l": 0.67508,
    "c": 0.03701,
    "h": 101.9
  },
  "luminance": 0.30931
}

Semantic roles & 50–950 ramp

primary
#9B987E
secondary
#B4B6C0
accent
#79B672
background
#FBFBFA
surface
#F6F6F3
border
#D0D0CD
text
#11110F
muted
#80807F

Preview Lab

Preview with #9B987E

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

Preview Lab → · Contrast checker → · Palette generator →

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