#876D1B#876D1B

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

Color values

HEX#876D1B
RGBrgb(135, 109, 27)
HSLhsl(46, 67%, 32%)
HSVhsv(46, 80%, 53%)
CMYKcmyk(0%, 19.3%, 80%, 47.1%)
CIE-LABlab(47.19, 1.71, 46.39)
CIE-LCHlch(47.19, 46.43, 87.89°)
OKLaboklab(54.55% -0.0003 0.1012)
OKLCHoklch(54.55% 0.101 90.2)
XYZxyz(15.6591, 16.1683, 3.3327)
Luminance0.1617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876D1B #1B3587
analogous
#87371B #876D1B #6B871B
triadic
#876D1B #1B876D #6D1B87
tetradic
#876D1B #1B8737 #1B3587 #871B6B
square
#876D1B #1B8737 #1B3587 #871B6B
split-complementary
#876D1B #1B6B87 #371B87
monochromatic
#211B07 #544411 #876D1B #BA9625 #D9B543

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##876D1B#FFFFFF#000000##FFFFFF
##876D1B1.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)
#7A6C0B
Deuteranopia (green-blind)
#817320
Tritanopia (blue-blind)
#93635D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #876d1b;
/* rgb */ color: rgb(135, 109, 27);
/* oklch */ color: oklch(54.5% 0.101 90.2);
Tailwind
colors: {
  custom: {
    50: '#ae965f',
    500: '#876d1b',
    950: '#000000',
  },
}
SCSS
$custom: #876d1b;
$custom-light: #ae965f;
$custom-dark: #000000;
JSON
{
  "hex": "#876d1b",
  "rgb": {
    "r": 135,
    "g": 109,
    "b": 27
  },
  "hsl": {
    "h": 45.556,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54546,
    "c": 0.10117,
    "h": 90.2
  },
  "luminance": 0.16167
}

Semantic roles & 50–950 ramp

primary
#876D1B
secondary
#4460BA
accent
#67EA3E
background
#FBF9F5
surface
#F6F1E9
border
#D0CBC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #876D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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