#9C9873#9C9873

#9C9873 is a light, muted yellow. Relative luminance 0.308; OKLCH L 67.3% C 0.052 H 102.5°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#9C9873
RGBrgb(156, 152, 115)
HSLhsl(54, 17%, 53%)
HSVhsv(54, 26%, 61%)
CMYKcmyk(0%, 2.6%, 26.3%, 38.8%)
CIE-LABlab(62.31, -4.71, 20.05)
CIE-LCHlch(62.31, 20.60, 103.21°)
OKLaboklab(67.34% -0.0112 0.0507)
OKLCHoklch(67.34% 0.052 102.5)
XYZxyz(28.0331, 30.7627, 20.6774)
Luminance0.3076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9873 #73779C
analogous
#9C8373 #9C9873 #8B9C73
triadic
#9C9873 #739C98 #98739C
tetradic
#9C9873 #739C83 #73779C #9C738B
square
#9C9873 #739C83 #73779C #9C738B
split-complementary
#9C9873 #738B9C #83739C
monochromatic
#57553E #7B7757 #9C9873 #B5B297 #CFCDBB

Accessibility & contrast

On white

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

On black

7.15
#9C9873 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C9873
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9873#FFFFFF#000000##000000
##9C98731.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F9571
Deuteranopia (green-blind)
#A09874
Tritanopia (blue-blind)
#A2938E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9c9873;
/* rgb */ color: rgb(156, 152, 115);
/* oklch */ color: oklch(67.3% 0.052 102.5);
Tailwind
colors: {
  custom: {
    50: '#b9b69b',
    500: '#9c9873',
    950: '#000000',
  },
}
SCSS
$custom: #9c9873;
$custom-light: #b9b69b;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9873",
  "rgb": {
    "r": 156,
    "g": 152,
    "b": 115
  },
  "hsl": {
    "h": 54.146,
    "s": 17.155,
    "l": 53.137
  },
  "oklch": {
    "l": 0.6734,
    "c": 0.05191,
    "h": 102.5
  },
  "luminance": 0.30762
}

Semantic roles & 50–950 ramp

primary
#9C9873
secondary
#ADAEBE
accent
#75BA6E
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110E
muted
#80807E

Preview Lab

Preview with #9C9873

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

Preview Lab → · Contrast checker → · Palette generator →

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