#9C987C#9C987C

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

Color values

HEX#9C987C
RGBrgb(156, 152, 124)
HSLhsl(53, 14%, 55%)
HSVhsv(53, 21%, 61%)
CMYKcmyk(0%, 2.6%, 20.5%, 38.8%)
CIE-LABlab(62.49, -3.36, 15.29)
CIE-LCHlch(62.49, 15.66, 102.40°)
OKLaboklab(67.55% -0.0074 0.0392)
OKLCHoklch(67.55% 0.04 100.6)
XYZxyz(28.5765, 30.9800, 23.5392)
Luminance0.3098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C987C #7C809C
analogous
#9C887C #9C987C #909C7C
triadic
#9C987C #7C9C98 #987C9C
tetradic
#9C987C #7C9C88 #7C809C #9C7C90
square
#9C987C #7C9C88 #7C809C #9C7C90
split-complementary
#9C987C #7C909C #887C9C
monochromatic
#5A5744 #7D795E #9C987C #B6B39F #D1CFC2

Accessibility & contrast

On white

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

On black

7.20
#9C987C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C987C
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C987C#FFFFFF#000000##000000
##9C987C1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c987c;
/* rgb */ color: rgb(156, 152, 124);
/* oklch */ color: oklch(67.5% 0.040 100.6);
Tailwind
colors: {
  custom: {
    50: '#b9b6a2',
    500: '#9c987c',
    950: '#000000',
  },
}
SCSS
$custom: #9c987c;
$custom-light: #b9b6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c987c",
  "rgb": {
    "r": 156,
    "g": 152,
    "b": 124
  },
  "hsl": {
    "h": 52.5,
    "s": 13.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.67546,
    "c": 0.03984,
    "h": 100.6
  },
  "luminance": 0.3098
}

Semantic roles & 50–950 ramp

primary
#9C987C
secondary
#B3B5C1
accent
#7AB771
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110F
muted
#80807E

Preview Lab

Preview with #9C987C

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

Preview Lab → · Contrast checker → · Palette generator →

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