#9B987D#9B987D

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

Color values

HEX#9B987D
RGBrgb(155, 152, 125)
HSLhsl(54, 13%, 55%)
HSVhsv(54, 19%, 61%)
CMYKcmyk(0%, 1.9%, 19.4%, 39.2%)
CIE-LABlab(62.43, -3.60, 14.64)
CIE-LCHlch(62.43, 15.07, 103.81°)
OKLaboklab(67.48% -0.0081 0.0375)
OKLCHoklch(67.48% 0.038 102.1)
XYZxyz(28.4473, 30.9061, 23.8649)
Luminance0.3091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B987D #7D809B
analogous
#9B897D #9B987D #8F9B7D
triadic
#9B987D #7D9B98 #987D9B
tetradic
#9B987D #7D9B89 #7D809B #9B7D8F
square
#9B987D #7D9B89 #7D809B #9B7D8F
split-complementary
#9B987D #7D8F9B #897D9B
monochromatic
#595745 #7C795F #9B987D #B6B3A0 #D0CFC2

Accessibility & contrast

On white

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

On black

7.18
#9B987D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B987D
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B987D#FFFFFF#000000##000000
##9B987D1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D967B
Deuteranopia (green-blind)
#9E987E
Tritanopia (blue-blind)
#A09490
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9b987d;
/* rgb */ color: rgb(155, 152, 125);
/* oklch */ color: oklch(67.5% 0.038 102.1);
Tailwind
colors: {
  custom: {
    50: '#b8b6a2',
    500: '#9b987d',
    950: '#000000',
  },
}
SCSS
$custom: #9b987d;
$custom-light: #b8b6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b987d",
  "rgb": {
    "r": 155,
    "g": 152,
    "b": 125
  },
  "hsl": {
    "h": 54,
    "s": 13.043,
    "l": 54.902
  },
  "oklch": {
    "l": 0.67483,
    "c": 0.03839,
    "h": 102.1
  },
  "luminance": 0.30906
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B987D

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

Preview Lab → · Contrast checker → · Palette generator →

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