#876E1B#876E1B

#876E1B is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.8% C 0.102 H 91.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#876E1B
RGBrgb(135, 110, 27)
HSLhsl(46, 67%, 32%)
HSVhsv(46, 80%, 53%)
CMYKcmyk(0%, 18.5%, 80%, 47.1%)
CIE-LABlab(47.47, 1.14, 46.65)
CIE-LCHlch(47.47, 46.66, 88.60°)
OKLaboklab(54.77% -0.0019 0.1017)
OKLCHoklch(54.77% 0.102 91.1)
XYZxyz(15.7664, 16.3829, 3.3685)
Luminance0.1638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876E1B #1B3487
analogous
#87381B #876E1B #6A871B
triadic
#876E1B #1B876E #6E1B87
tetradic
#876E1B #1B8738 #1B3487 #871B6A
square
#876E1B #1B8738 #1B3487 #871B6A
split-complementary
#876E1B #1B6A87 #381B87
monochromatic
#211B07 #544411 #876E1B #BA9825 #D9B743

Accessibility & contrast

On white

4.91
#876E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#876E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #876E1B
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876E1B#FFFFFF#000000##FFFFFF
##876E1B1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C0A
Deuteranopia (green-blind)
#817420
Tritanopia (blue-blind)
#93645E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #876e1b;
/* rgb */ color: rgb(135, 110, 27);
/* oklch */ color: oklch(54.8% 0.102 91.1);
Tailwind
colors: {
  custom: {
    50: '#ae975f',
    500: '#876e1b',
    950: '#000000',
  },
}
SCSS
$custom: #876e1b;
$custom-light: #ae975f;
$custom-dark: #000000;
JSON
{
  "hex": "#876e1b",
  "rgb": {
    "r": 135,
    "g": 110,
    "b": 27
  },
  "hsl": {
    "h": 46.111,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54765,
    "c": 0.10174,
    "h": 91.1
  },
  "luminance": 0.16382
}

Semantic roles & 50–950 ramp

primary
#876E1B
secondary
#445FBA
accent
#66EA3E
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #876E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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