#9C9871#9C9871

#9C9871 is a light, muted yellow. Relative luminance 0.307; OKLCH L 67.3% C 0.055 H 102.8°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#9C9871
RGBrgb(156, 152, 113)
HSLhsl(54, 18%, 53%)
HSVhsv(54, 28%, 61%)
CMYKcmyk(0%, 2.6%, 27.6%, 38.8%)
CIE-LABlab(62.27, -4.99, 21.11)
CIE-LCHlch(62.27, 21.69, 103.30°)
OKLaboklab(67.3% -0.0121 0.0532)
OKLCHoklch(67.3% 0.055 102.8)
XYZxyz(27.9193, 30.7172, 20.0778)
Luminance0.3072 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9871 #71759C
analogous
#9C8371 #9C9871 #8A9C71
triadic
#9C9871 #719C98 #98719C
tetradic
#9C9871 #719C83 #71759C #9C718A
square
#9C9871 #719C83 #71759C #9C718A
split-complementary
#9C9871 #718A9C #83719C
monochromatic
#56543C #7A7755 #9C9871 #B5B295 #CECCB9

Accessibility & contrast

On white

2.94
#9C9871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#9C9871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C9871
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9871#FFFFFF#000000##000000
##9C98711.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F956E
Deuteranopia (green-blind)
#A19872
Tritanopia (blue-blind)
#A3938E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9c9871;
/* rgb */ color: rgb(156, 152, 113);
/* oklch */ color: oklch(67.3% 0.055 102.8);
Tailwind
colors: {
  custom: {
    50: '#b9b69a',
    500: '#9c9871',
    950: '#000000',
  },
}
SCSS
$custom: #9c9871;
$custom-light: #b9b69a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9871",
  "rgb": {
    "r": 156,
    "g": 152,
    "b": 113
  },
  "hsl": {
    "h": 54.419,
    "s": 17.842,
    "l": 52.745
  },
  "oklch": {
    "l": 0.67297,
    "c": 0.05455,
    "h": 102.8
  },
  "luminance": 0.30717
}

Semantic roles & 50–950 ramp

primary
#9C9871
secondary
#ABADBE
accent
#74BB6D
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110E
muted
#80807E

Preview Lab

Preview with #9C9871

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

Preview Lab → · Contrast checker → · Palette generator →

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