#876D1F#876D1F

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

Color values

HEX#876D1F
RGBrgb(135, 109, 31)
HSLhsl(45, 63%, 33%)
HSVhsv(45, 77%, 53%)
CMYKcmyk(0%, 19.3%, 77%, 47.1%)
CIE-LABlab(47.22, 1.89, 44.85)
CIE-LCHlch(47.22, 44.89, 87.59°)
OKLaboklab(54.57% 0.0007 0.0988)
OKLCHoklch(54.57% 0.099 89.6)
XYZxyz(15.7086, 16.1881, 3.5933)
Luminance0.1619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876D1F #1F3987
analogous
#87391F #876D1F #6D871F
triadic
#876D1F #1F876D #6D1F87
tetradic
#876D1F #1F8739 #1F3987 #871F6D
square
#876D1F #1F8739 #1F3987 #871F6D
split-complementary
#876D1F #1F6D87 #391F87
monochromatic
#231D08 #554514 #876D1F #B9952A #D6B34B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##876D1F#FFFFFF#000000##FFFFFF
##876D1F1.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)
#7A6C12
Deuteranopia (green-blind)
#807323
Tritanopia (blue-blind)
#93635E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #876d1f;
/* rgb */ color: rgb(135, 109, 31);
/* oklch */ color: oklch(54.6% 0.099 89.6);
Tailwind
colors: {
  custom: {
    50: '#ae9661',
    500: '#876d1f',
    950: '#000000',
  },
}
SCSS
$custom: #876d1f;
$custom-light: #ae9661;
$custom-dark: #000000;
JSON
{
  "hex": "#876d1f",
  "rgb": {
    "r": 135,
    "g": 109,
    "b": 31
  },
  "hsl": {
    "h": 45,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54574,
    "c": 0.09876,
    "h": 89.6
  },
  "luminance": 0.16187
}

Semantic roles & 50–950 ramp

primary
#876D1F
secondary
#4A65B8
accent
#6BE642
background
#FBF9F5
surface
#F6F1EA
border
#D0CBC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #876D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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