#9A987E#9A987E

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

Color values

HEX#9A987E
RGBrgb(154, 152, 126)
HSLhsl(56, 12%, 55%)
HSVhsv(56, 18%, 60%)
CMYKcmyk(0%, 1.3%, 18.2%, 39.6%)
CIE-LABlab(62.37, -3.83, 13.98)
CIE-LCHlch(62.37, 14.49, 105.33°)
OKLaboklab(67.42% -0.0088 0.0359)
OKLCHoklch(67.42% 0.037 103.7)
XYZxyz(28.3203, 30.8332, 24.1941)
Luminance0.3083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A987E #7E809A
analogous
#9A8A7E #9A987E #8E9A7E
triadic
#9A987E #7E9A98 #987E9A
tetradic
#9A987E #7E9A8A #7E809A #9A7E8E
square
#9A987E #7E9A8A #7E809A #9A7E8E
split-complementary
#9A987E #7E8E9A #8A7E9A
monochromatic
#585745 #7B7960 #9A987E #B5B3A0 #D0CFC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A987E#FFFFFF#000000##000000
##9A987E1.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)
#9D967C
Deuteranopia (green-blind)
#9E977F
Tritanopia (blue-blind)
#9F9491
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9a987e;
/* rgb */ color: rgb(154, 152, 126);
/* oklch */ color: oklch(67.4% 0.037 103.7);
Tailwind
colors: {
  custom: {
    50: '#b8b6a3',
    500: '#9a987e',
    950: '#000000',
  },
}
SCSS
$custom: #9a987e;
$custom-light: #b8b6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a987e",
  "rgb": {
    "r": 154,
    "g": 152,
    "b": 126
  },
  "hsl": {
    "h": 55.714,
    "s": 12.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.67422,
    "c": 0.03695,
    "h": 103.7
  },
  "luminance": 0.30833
}

Semantic roles & 50–950 ramp

primary
#9A987E
secondary
#B4B5C0
accent
#77B573
background
#FBFBFA
surface
#F6F6F3
border
#D0D0CD
text
#11110F
muted
#80807F

Preview Lab

Preview with #9A987E

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

Preview Lab → · Contrast checker → · Palette generator →

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