#9C987E#9C987E

#9C987E is a light, muted yellow. Relative luminance 0.310; OKLCH L 67.6% C 0.037 H 100.1°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#9C987E
RGBrgb(156, 152, 126)
HSLhsl(52, 13%, 55%)
HSVhsv(52, 19%, 61%)
CMYKcmyk(0%, 2.6%, 19.2%, 38.8%)
CIE-LABlab(62.53, -3.05, 14.24)
CIE-LCHlch(62.53, 14.56, 102.09°)
OKLaboklab(67.59% -0.0065 0.0365)
OKLCHoklch(67.59% 0.037 100.1)
XYZxyz(28.7043, 31.0312, 24.2121)
Luminance0.3103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C987E #7E829C
analogous
#9C897E #9C987E #919C7E
triadic
#9C987E #7E9C98 #987E9C
tetradic
#9C987E #7E9C89 #7E829C #9C7E91
square
#9C987E #7E9C89 #7E829C #9C7E91
split-complementary
#9C987E #7E919C #897E9C
monochromatic
#5A5745 #7D7960 #9C987E #B7B4A1 #D1CFC3

Accessibility & contrast

On white

2.91
#9C987E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#9C987E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C987E
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C987E#FFFFFF#000000##000000
##9C987E1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c987e;
/* rgb */ color: rgb(156, 152, 126);
/* oklch */ color: oklch(67.6% 0.037 100.1);
Tailwind
colors: {
  custom: {
    50: '#b9b6a3',
    500: '#9c987e',
    950: '#000000',
  },
}
SCSS
$custom: #9c987e;
$custom-light: #b9b6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c987e",
  "rgb": {
    "r": 156,
    "g": 152,
    "b": 126
  },
  "hsl": {
    "h": 52,
    "s": 13.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.67594,
    "c": 0.03711,
    "h": 100.1
  },
  "luminance": 0.31031
}

Semantic roles & 50–950 ramp

primary
#9C987E
secondary
#B5B6C1
accent
#7BB672
background
#FBFBFA
surface
#F6F6F3
border
#D0D0CD
text
#11110F
muted
#80807F

Preview Lab

Preview with #9C987E

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

Preview Lab → · Contrast checker → · Palette generator →

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