#9C873C#9C873C

#9C873C is a light, moderate yellow. Relative luminance 0.247; OKLCH L 62.7% C 0.098 H 93.7°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#9C873C
RGBrgb(156, 135, 60)
HSLhsl(47, 44%, 42%)
HSVhsv(47, 62%, 61%)
CMYKcmyk(0%, 13.5%, 61.5%, 38.8%)
CIE-LABlab(56.80, -1.38, 42.38)
CIE-LCHlch(56.80, 42.40, 91.86°)
OKLaboklab(62.72% -0.0064 0.0978)
OKLCHoklch(62.72% 0.098 93.7)
XYZxyz(23.1909, 24.7233, 7.8246)
Luminance0.2472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C873C #3C519C
analogous
#9C573C #9C873C #819C3C
triadic
#9C873C #3C9C87 #873C9C
tetradic
#9C873C #3C9C57 #3C519C #9C3C81
square
#9C873C #3C9C57 #3C519C #9C3C81
split-complementary
#9C873C #3C819C #573C9C
monochromatic
#443B1A #70612B #9C873C #BEA857 #CFBF83

Accessibility & contrast

On white

3.53
#9C873C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#9C873C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C873C
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C873C#FFFFFF#000000##000000
##9C873C1.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948534
Deuteranopia (green-blind)
#998B3F
Tritanopia (blue-blind)
#A87D76
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9c873c;
/* rgb */ color: rgb(156, 135, 60);
/* oklch */ color: oklch(62.7% 0.098 93.7);
Tailwind
colors: {
  custom: {
    50: '#bca975',
    500: '#9c873c',
    950: '#000000',
  },
}
SCSS
$custom: #9c873c;
$custom-light: #bca975;
$custom-dark: #000000;
JSON
{
  "hex": "#9c873c",
  "rgb": {
    "r": 156,
    "g": 135,
    "b": 60
  },
  "hsl": {
    "h": 46.875,
    "s": 44.444,
    "l": 42.353
  },
  "oklch": {
    "l": 0.62721,
    "c": 0.09804,
    "h": 93.7
  },
  "luminance": 0.24722
}

Semantic roles & 50–950 ramp

primary
#9C873C
secondary
#7A88B9
accent
#70D454
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B

Preview Lab

Preview with #9C873C

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

Preview Lab → · Contrast checker → · Palette generator →

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