#9C873B#9C873B

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

Color values

HEX#9C873B
RGBrgb(156, 135, 59)
HSLhsl(47, 45%, 42%)
HSVhsv(47, 62%, 61%)
CMYKcmyk(0%, 13.5%, 62.2%, 38.8%)
CIE-LABlab(56.79, -1.45, 42.85)
CIE-LCHlch(56.79, 42.87, 91.94°)
OKLaboklab(62.71% -0.0067 0.0987)
OKLCHoklch(62.71% 0.099 93.9)
XYZxyz(23.1647, 24.7128, 7.6867)
Luminance0.2471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C873B #3B509C
analogous
#9C563B #9C873B #819C3B
triadic
#9C873B #3B9C87 #873B9C
tetradic
#9C873B #3B9C56 #3B509C #9C3B81
square
#9C873B #3B9C56 #3B509C #9C3B81
split-complementary
#9C873B #3B819C #563B9C
monochromatic
#433A19 #70612A #9C873B #BFA855 #D0BF82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C873B#FFFFFF#000000##000000
##9C873B1.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)
#948533
Deuteranopia (green-blind)
#998B3E
Tritanopia (blue-blind)
#A87D76
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9c873b;
/* rgb */ color: rgb(156, 135, 59);
/* oklch */ color: oklch(62.7% 0.099 93.9);
Tailwind
colors: {
  custom: {
    50: '#bca974',
    500: '#9c873b',
    950: '#000000',
  },
}
SCSS
$custom: #9c873b;
$custom-light: #bca974;
$custom-dark: #000000;
JSON
{
  "hex": "#9c873b",
  "rgb": {
    "r": 156,
    "g": 135,
    "b": 59
  },
  "hsl": {
    "h": 47.01,
    "s": 45.116,
    "l": 42.157
  },
  "oklch": {
    "l": 0.62709,
    "c": 0.09894,
    "h": 93.9
  },
  "luminance": 0.24712
}

Semantic roles & 50–950 ramp

primary
#9C873B
secondary
#7987B9
accent
#6FD553
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B

Preview Lab

Preview with #9C873B

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

Preview Lab → · Contrast checker → · Palette generator →

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