#9C987A#9C987A

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

Color values

HEX#9C987A
RGBrgb(156, 152, 122)
HSLhsl(53, 15%, 55%)
HSVhsv(53, 22%, 61%)
CMYKcmyk(0%, 2.6%, 21.8%, 38.8%)
CIE-LABlab(62.45, -3.67, 16.35)
CIE-LCHlch(62.45, 16.76, 102.65°)
OKLaboklab(67.5% -0.0082 0.0418)
OKLCHoklch(67.5% 0.043 101.1)
XYZxyz(28.4513, 30.9300, 22.8799)
Luminance0.3093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C987A #7A7E9C
analogous
#9C877A #9C987A #8F9C7A
triadic
#9C987A #7A9C98 #987A9C
tetradic
#9C987A #7A9C87 #7A7E9C #9C7A8F
square
#9C987A #7A9C87 #7A7E9C #9C7A8F
split-complementary
#9C987A #7A8F9C #877A9C
monochromatic
#595742 #7C795D #9C987A #B6B39D #D0CEC0

Accessibility & contrast

On white

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

On black

7.19
#9C987A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C987A
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C987A#FFFFFF#000000##000000
##9C987A1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E9678
Deuteranopia (green-blind)
#9F987B
Tritanopia (blue-blind)
#A19490
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9c987a;
/* rgb */ color: rgb(156, 152, 122);
/* oklch */ color: oklch(67.5% 0.043 101.1);
Tailwind
colors: {
  custom: {
    50: '#b9b6a0',
    500: '#9c987a',
    950: '#000000',
  },
}
SCSS
$custom: #9c987a;
$custom-light: #b9b6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c987a",
  "rgb": {
    "r": 156,
    "g": 152,
    "b": 122
  },
  "hsl": {
    "h": 52.941,
    "s": 14.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.67499,
    "c": 0.04255,
    "h": 101.1
  },
  "luminance": 0.3093
}

Semantic roles & 50–950 ramp

primary
#9C987A
secondary
#B2B3C0
accent
#79B770
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110E
muted
#80807E

Preview Lab

Preview with #9C987A

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

Preview Lab → · Contrast checker → · Palette generator →

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