#876C1B#876C1B

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

Color values

HEX#876C1B
RGBrgb(135, 108, 27)
HSLhsl(45, 67%, 32%)
HSVhsv(45, 80%, 53%)
CMYKcmyk(0%, 20%, 80%, 47.1%)
CIE-LABlab(46.92, 2.29, 46.14)
CIE-LCHlch(46.92, 46.19, 87.16°)
OKLaboklab(54.33% 0.0014 0.1006)
OKLCHoklch(54.33% 0.101 89.2)
XYZxyz(15.5530, 15.9562, 3.2974)
Luminance0.1595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876C1B #1B3687
analogous
#87361B #876C1B #6C871B
triadic
#876C1B #1B876C #6C1B87
tetradic
#876C1B #1B8736 #1B3687 #871B6C
square
#876C1B #1B8736 #1B3687 #871B6C
split-complementary
#876C1B #1B6C87 #361B87
monochromatic
#211A07 #544311 #876C1B #BA9525 #D9B443

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##876C1B#FFFFFF#000000##FFFFFF
##876C1B1.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)
#796B0B
Deuteranopia (green-blind)
#807220
Tritanopia (blue-blind)
#93625C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #876c1b;
/* rgb */ color: rgb(135, 108, 27);
/* oklch */ color: oklch(54.3% 0.101 89.2);
Tailwind
colors: {
  custom: {
    50: '#ae955e',
    500: '#876c1b',
    950: '#000000',
  },
}
SCSS
$custom: #876c1b;
$custom-light: #ae955e;
$custom-dark: #000000;
JSON
{
  "hex": "#876c1b",
  "rgb": {
    "r": 135,
    "g": 108,
    "b": 27
  },
  "hsl": {
    "h": 45,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54327,
    "c": 0.10063,
    "h": 89.2
  },
  "luminance": 0.15955
}

Semantic roles & 50–950 ramp

primary
#876C1B
secondary
#4461BA
accent
#69EA3E
background
#FBF9F5
surface
#F6F1E9
border
#D0CBC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #876C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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