#876D1A#876D1A

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

Color values

HEX#876D1A
RGBrgb(135, 109, 26)
HSLhsl(46, 68%, 32%)
HSVhsv(46, 81%, 53%)
CMYKcmyk(0%, 19.3%, 80.7%, 47.1%)
CIE-LABlab(47.19, 1.67, 46.76)
CIE-LCHlch(47.19, 46.79, 87.95°)
OKLaboklab(54.54% -0.0005 0.1017)
OKLCHoklch(54.54% 0.102 90.3)
XYZxyz(15.6477, 16.1638, 3.2728)
Luminance0.1616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876D1A #1A3487
analogous
#87371A #876D1A #6B871A
triadic
#876D1A #1A876D #6D1A87
tetradic
#876D1A #1A8737 #1A3487 #871A6B
square
#876D1A #1A8737 #1A3487 #871A6B
split-complementary
#876D1A #1A6B87 #371A87
monochromatic
#201A06 #544410 #876D1A #BA9624 #DAB641

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##876D1A#FFFFFF#000000##FFFFFF
##876D1A1.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)
#7A6C08
Deuteranopia (green-blind)
#81731F
Tritanopia (blue-blind)
#93635D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #876d1a;
/* rgb */ color: rgb(135, 109, 26);
/* oklch */ color: oklch(54.5% 0.102 90.3);
Tailwind
colors: {
  custom: {
    50: '#ae965e',
    500: '#876d1a',
    950: '#000000',
  },
}
SCSS
$custom: #876d1a;
$custom-light: #ae965e;
$custom-dark: #000000;
JSON
{
  "hex": "#876d1a",
  "rgb": {
    "r": 135,
    "g": 109,
    "b": 26
  },
  "hsl": {
    "h": 45.688,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54539,
    "c": 0.10173,
    "h": 90.3
  },
  "luminance": 0.16163
}

Semantic roles & 50–950 ramp

primary
#876D1A
secondary
#425FBA
accent
#67EB3D
background
#FBF9F5
surface
#F6F1E9
border
#D0CBC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #876D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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