#9C873A#9C873A

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

Color values

HEX#9C873A
RGBrgb(156, 135, 58)
HSLhsl(47, 46%, 42%)
HSVhsv(47, 63%, 61%)
CMYKcmyk(0%, 13.5%, 62.8%, 38.8%)
CIE-LABlab(56.78, -1.52, 43.32)
CIE-LCHlch(56.78, 43.35, 92.01°)
OKLaboklab(62.7% -0.0071 0.0996)
OKLCHoklch(62.7% 0.1 94.1)
XYZxyz(23.1390, 24.7025, 7.5514)
Luminance0.2470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C873A #3A4F9C
analogous
#9C563A #9C873A #809C3A
triadic
#9C873A #3A9C87 #873A9C
tetradic
#9C873A #3A9C56 #3A4F9C #9C3A80
square
#9C873A #3A9C56 #3A4F9C #9C3A80
split-complementary
#9C873A #3A809C #563A9C
monochromatic
#433A19 #6F6029 #9C873A #BFA854 #D0BF80

Accessibility & contrast

On white

3.54
#9C873A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C873A#FFFFFF#000000##000000
##9C873A1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948532
Deuteranopia (green-blind)
#9A8B3E
Tritanopia (blue-blind)
#A87D76
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9c873a;
/* rgb */ color: rgb(156, 135, 58);
/* oklch */ color: oklch(62.7% 0.100 94.1);
Tailwind
colors: {
  custom: {
    50: '#bca973',
    500: '#9c873a',
    950: '#000000',
  },
}
SCSS
$custom: #9c873a;
$custom-light: #bca973;
$custom-dark: #000000;
JSON
{
  "hex": "#9c873a",
  "rgb": {
    "r": 156,
    "g": 135,
    "b": 58
  },
  "hsl": {
    "h": 47.143,
    "s": 45.794,
    "l": 41.961
  },
  "oklch": {
    "l": 0.62698,
    "c": 0.09982,
    "h": 94.1
  },
  "luminance": 0.24701
}

Semantic roles & 50–950 ramp

primary
#9C873A
secondary
#7886BA
accent
#6ED552
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B

Preview Lab

Preview with #9C873A

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

Preview Lab → · Contrast checker → · Palette generator →

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