#9B987C#9B987C

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

Color values

HEX#9B987C
RGBrgb(155, 152, 124)
HSLhsl(54, 13%, 55%)
HSVhsv(54, 20%, 61%)
CMYKcmyk(0%, 1.9%, 20%, 39.2%)
CIE-LABlab(62.41, -3.75, 15.16)
CIE-LCHlch(62.41, 15.62, 103.91°)
OKLaboklab(67.46% -0.0085 0.0388)
OKLCHoklch(67.46% 0.04 102.3)
XYZxyz(28.3837, 30.8807, 23.5302)
Luminance0.3088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B987C #7C7F9B
analogous
#9B897C #9B987C #8F9B7C
triadic
#9B987C #7C9B98 #987C9B
tetradic
#9B987C #7C9B89 #7C7F9B #9B7C8F
square
#9B987C #7C9B89 #7C7F9B #9B7C8F
split-complementary
#9B987C #7C8F9B #897C9B
monochromatic
#595744 #7C795E #9B987C #B5B39F #D0CFC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B987C#FFFFFF#000000##000000
##9B987C1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b987c;
/* rgb */ color: rgb(155, 152, 124);
/* oklch */ color: oklch(67.5% 0.040 102.3);
Tailwind
colors: {
  custom: {
    50: '#b8b6a2',
    500: '#9b987c',
    950: '#000000',
  },
}
SCSS
$custom: #9b987c;
$custom-light: #b8b6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b987c",
  "rgb": {
    "r": 155,
    "g": 152,
    "b": 124
  },
  "hsl": {
    "h": 54.194,
    "s": 13.42,
    "l": 54.706
  },
  "oklch": {
    "l": 0.67459,
    "c": 0.03975,
    "h": 102.3
  },
  "luminance": 0.3088
}

Semantic roles & 50–950 ramp

primary
#9B987C
secondary
#B3B4C0
accent
#78B672
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110F
muted
#80807E

Preview Lab

Preview with #9B987C

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

Preview Lab → · Contrast checker → · Palette generator →

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