#876C1A#876C1A

#876C1A is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 54.3% C 0.101 H 89.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#876C1A
RGBrgb(135, 108, 26)
HSLhsl(45, 68%, 32%)
HSVhsv(45, 81%, 53%)
CMYKcmyk(0%, 20%, 80.7%, 47.1%)
CIE-LABlab(46.91, 2.25, 46.51)
CIE-LCHlch(46.91, 46.56, 87.23°)
OKLaboklab(54.32% 0.0011 0.1012)
OKLCHoklch(54.32% 0.101 89.4)
XYZxyz(15.5416, 15.9516, 3.2375)
Luminance0.1595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876C1A #1A3587
analogous
#87361A #876C1A #6C871A
triadic
#876C1A #1A876C #6C1A87
tetradic
#876C1A #1A8736 #1A3587 #871A6C
square
#876C1A #1A8736 #1A3587 #871A6C
split-complementary
#876C1A #1A6C87 #361A87
monochromatic
#201A06 #544310 #876C1A #BA9524 #DAB441

Accessibility & contrast

On white

5.01
#876C1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#876C1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #876C1A
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876C1A#FFFFFF#000000##FFFFFF
##876C1A1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B09
Deuteranopia (green-blind)
#80721F
Tritanopia (blue-blind)
#93625C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #876c1a;
/* rgb */ color: rgb(135, 108, 26);
/* oklch */ color: oklch(54.3% 0.101 89.4);
Tailwind
colors: {
  custom: {
    50: '#ae955e',
    500: '#876c1a',
    950: '#000000',
  },
}
SCSS
$custom: #876c1a;
$custom-light: #ae955e;
$custom-dark: #000000;
JSON
{
  "hex": "#876c1a",
  "rgb": {
    "r": 135,
    "g": 108,
    "b": 26
  },
  "hsl": {
    "h": 45.138,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5432,
    "c": 0.1012,
    "h": 89.4
  },
  "luminance": 0.15951
}

Semantic roles & 50–950 ramp

primary
#876C1A
secondary
#4260BA
accent
#68EB3D
background
#FBF9F5
surface
#F6F1E9
border
#D0CBC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #876C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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