#9C873D#9C873D

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

Color values

HEX#9C873D
RGBrgb(156, 135, 61)
HSLhsl(47, 44%, 43%)
HSVhsv(47, 61%, 61%)
CMYKcmyk(0%, 13.5%, 60.9%, 38.8%)
CIE-LABlab(56.82, -1.30, 41.90)
CIE-LCHlch(56.82, 41.92, 91.78°)
OKLaboklab(62.73% -0.0061 0.0969)
OKLCHoklch(62.73% 0.097 93.6)
XYZxyz(23.2176, 24.7339, 7.9652)
Luminance0.2473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C873D #3D529C
analogous
#9C583D #9C873D #819C3D
triadic
#9C873D #3D9C87 #873D9C
tetradic
#9C873D #3D9C58 #3D529C #9C3D81
square
#9C873D #3D9C58 #3D529C #9C3D81
split-complementary
#9C873D #3D819C #583D9C
monochromatic
#443B1B #70612C #9C873D #BEA758 #CFBF84

Accessibility & contrast

On white

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

On black

5.95
#9C873D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C873D
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C873D#FFFFFF#000000##000000
##9C873D1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948535
Deuteranopia (green-blind)
#998B40
Tritanopia (blue-blind)
#A87D77
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9c873d;
/* rgb */ color: rgb(156, 135, 61);
/* oklch */ color: oklch(62.7% 0.097 93.6);
Tailwind
colors: {
  custom: {
    50: '#bca975',
    500: '#9c873d',
    950: '#000000',
  },
}
SCSS
$custom: #9c873d;
$custom-light: #bca975;
$custom-dark: #000000;
JSON
{
  "hex": "#9c873d",
  "rgb": {
    "r": 156,
    "g": 135,
    "b": 61
  },
  "hsl": {
    "h": 46.737,
    "s": 43.779,
    "l": 42.549
  },
  "oklch": {
    "l": 0.62732,
    "c": 0.09713,
    "h": 93.6
  },
  "luminance": 0.24733
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C873D

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

Preview Lab → · Contrast checker → · Palette generator →

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