#876D1E#876D1E

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

Color values

HEX#876D1E
RGBrgb(135, 109, 30)
HSLhsl(45, 64%, 32%)
HSVhsv(45, 78%, 53%)
CMYKcmyk(0%, 19.3%, 77.8%, 47.1%)
CIE-LABlab(47.21, 1.84, 45.25)
CIE-LCHlch(47.21, 45.28, 87.67°)
OKLaboklab(54.57% 0.0004 0.0994)
OKLCHoklch(54.57% 0.099 89.8)
XYZxyz(15.6956, 16.1829, 3.5250)
Luminance0.1618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876D1E #1E3887
analogous
#87391E #876D1E #6C871E
triadic
#876D1E #1E876D #6D1E87
tetradic
#876D1E #1E8739 #1E3887 #871E6C
square
#876D1E #1E8739 #1E3887 #871E6C
split-complementary
#876D1E #1E6C87 #391E87
monochromatic
#231C08 #554513 #876D1E #B99529 #D7B349

Accessibility & contrast

On white

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

On black

4.24
#876D1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##876D1E#FFFFFF#000000##FFFFFF
##876D1E1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C10
Deuteranopia (green-blind)
#807322
Tritanopia (blue-blind)
#93635E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #876d1e;
/* rgb */ color: rgb(135, 109, 30);
/* oklch */ color: oklch(54.6% 0.099 89.8);
Tailwind
colors: {
  custom: {
    50: '#ae9660',
    500: '#876d1e',
    950: '#000000',
  },
}
SCSS
$custom: #876d1e;
$custom-light: #ae9660;
$custom-dark: #000000;
JSON
{
  "hex": "#876d1e",
  "rgb": {
    "r": 135,
    "g": 109,
    "b": 30
  },
  "hsl": {
    "h": 45.143,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54567,
    "c": 0.09938,
    "h": 89.8
  },
  "luminance": 0.16182
}

Semantic roles & 50–950 ramp

primary
#876D1E
secondary
#4864B9
accent
#6AE741
background
#FBF9F5
surface
#F6F1EA
border
#D0CBC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #876D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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