#9C997C#9C997C

#9C997C is a light, muted yellow. Relative luminance 0.313; OKLCH L 67.8% C 0.041 H 102.5°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#9C997C
RGBrgb(156, 153, 124)
HSLhsl(54, 14%, 55%)
HSVhsv(54, 21%, 61%)
CMYKcmyk(0%, 1.9%, 20.5%, 38.8%)
CIE-LABlab(62.77, -3.91, 15.67)
CIE-LCHlch(62.77, 16.15, 104.00°)
OKLaboklab(67.76% -0.0089 0.0401)
OKLCHoklch(67.76% 0.041 102.5)
XYZxyz(28.7395, 31.3060, 23.5936)
Luminance0.3131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C997C #7C7F9C
analogous
#9C897C #9C997C #8F9C7C
triadic
#9C997C #7C9C99 #997C9C
tetradic
#9C997C #7C9C89 #7C7F9C #9C7C8F
square
#9C997C #7C9C89 #7C7F9C #9C7C8F
split-complementary
#9C997C #7C8F9C #897C9C
monochromatic
#5A5844 #7D7A5E #9C997C #B6B49F #D1CFC2

Accessibility & contrast

On white

2.89
#9C997C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#9C997C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C997C
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C997C#FFFFFF#000000##000000
##9C997C1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F977A
Deuteranopia (green-blind)
#A0997D
Tritanopia (blue-blind)
#A19591
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9c997c;
/* rgb */ color: rgb(156, 153, 124);
/* oklch */ color: oklch(67.8% 0.041 102.5);
Tailwind
colors: {
  custom: {
    50: '#b9b7a2',
    500: '#9c997c',
    950: '#000000',
  },
}
SCSS
$custom: #9c997c;
$custom-light: #b9b7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c997c",
  "rgb": {
    "r": 156,
    "g": 153,
    "b": 124
  },
  "hsl": {
    "h": 54.375,
    "s": 13.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.67763,
    "c": 0.04107,
    "h": 102.5
  },
  "luminance": 0.31306
}

Semantic roles & 50–950 ramp

primary
#9C997C
secondary
#B3B4C1
accent
#78B771
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110F
muted
#80807E

Preview Lab

Preview with #9C997C

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

Preview Lab → · Contrast checker → · Palette generator →

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