#9A987D#9A987D

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

Color values

HEX#9A987D
RGBrgb(154, 152, 125)
HSLhsl(56, 13%, 55%)
HSVhsv(56, 19%, 60%)
CMYKcmyk(0%, 1.3%, 18.8%, 39.6%)
CIE-LABlab(62.34, -3.99, 14.51)
CIE-LCHlch(62.34, 15.04, 105.38°)
OKLaboklab(67.4% -0.0092 0.0372)
OKLCHoklch(67.4% 0.038 103.9)
XYZxyz(28.2561, 30.8075, 23.8560)
Luminance0.3081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A987D #7D7F9A
analogous
#9A8A7D #9A987D #8E9A7D
triadic
#9A987D #7D9A98 #987D9A
tetradic
#9A987D #7D9A8A #7D7F9A #9A7D8E
square
#9A987D #7D9A8A #7D7F9A #9A7D8E
split-complementary
#9A987D #7D8E9A #8A7D9A
monochromatic
#585744 #7B795F #9A987D #B5B39F #D0CFC2

Accessibility & contrast

On white

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

On black

7.16
#9A987D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9A987D
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A987D#FFFFFF#000000##000000
##9A987D1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a987d;
/* rgb */ color: rgb(154, 152, 125);
/* oklch */ color: oklch(67.4% 0.038 103.9);
Tailwind
colors: {
  custom: {
    50: '#b8b6a2',
    500: '#9a987d',
    950: '#000000',
  },
}
SCSS
$custom: #9a987d;
$custom-light: #b8b6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a987d",
  "rgb": {
    "r": 154,
    "g": 152,
    "b": 125
  },
  "hsl": {
    "h": 55.862,
    "s": 12.554,
    "l": 54.706
  },
  "oklch": {
    "l": 0.67397,
    "c": 0.03833,
    "h": 103.9
  },
  "luminance": 0.30807
}

Semantic roles & 50–950 ramp

primary
#9A987D
secondary
#B3B4C0
accent
#77B572
background
#FBFBFA
surface
#F6F6F3
border
#D0D0CD
text
#11110F
muted
#80807F

Preview Lab

Preview with #9A987D

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

Preview Lab → · Contrast checker → · Palette generator →

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