#876D1C#876D1C

#876D1C is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.6% C 0.101 H 90.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#876D1C
RGBrgb(135, 109, 28)
HSLhsl(45, 66%, 32%)
HSVhsv(45, 79%, 53%)
CMYKcmyk(0%, 19.3%, 79.3%, 47.1%)
CIE-LABlab(47.20, 1.75, 46.02)
CIE-LCHlch(47.20, 46.05, 87.82°)
OKLaboklab(54.55% 0 0.1006)
OKLCHoklch(54.55% 0.101 90)
XYZxyz(15.6708, 16.1730, 3.3947)
Luminance0.1617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876D1C #1C3687
analogous
#87381C #876D1C #6B871C
triadic
#876D1C #1C876D #6D1C87
tetradic
#876D1C #1C8738 #1C3687 #871C6B
square
#876D1C #1C8738 #1C3687 #871C6B
split-complementary
#876D1C #1C6B87 #381C87
monochromatic
#221B07 #544411 #876D1C #BA9627 #D8B545

Accessibility & contrast

On white

4.96
#876D1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#876D1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #876D1C
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876D1C#FFFFFF#000000##FFFFFF
##876D1C1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C0D
Deuteranopia (green-blind)
#817321
Tritanopia (blue-blind)
#93635D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #876d1c;
/* rgb */ color: rgb(135, 109, 28);
/* oklch */ color: oklch(54.6% 0.101 90.0);
Tailwind
colors: {
  custom: {
    50: '#ae965f',
    500: '#876d1c',
    950: '#000000',
  },
}
SCSS
$custom: #876d1c;
$custom-light: #ae965f;
$custom-dark: #000000;
JSON
{
  "hex": "#876d1c",
  "rgb": {
    "r": 135,
    "g": 109,
    "b": 28
  },
  "hsl": {
    "h": 45.421,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54552,
    "c": 0.10059,
    "h": 90
  },
  "luminance": 0.16172
}

Semantic roles & 50–950 ramp

primary
#876D1C
secondary
#4561BA
accent
#68E93F
background
#FBF9F5
surface
#F6F1EA
border
#D0CBC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #876D1C

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

Preview Lab → · Contrast checker → · Palette generator →

#876D1C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva