#876F1D#876F1D

#876F1D is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 55.0% C 0.101 H 91.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#876F1D
RGBrgb(135, 111, 29)
HSLhsl(46, 65%, 32%)
HSVhsv(46, 79%, 53%)
CMYKcmyk(0%, 17.8%, 78.5%, 47.1%)
CIE-LABlab(47.76, 0.65, 46.16)
CIE-LCHlch(47.76, 46.17, 89.20°)
OKLaboklab(55% -0.0031 0.1011)
OKLCHoklch(55% 0.101 91.8)
XYZxyz(15.8988, 16.6095, 3.5307)
Luminance0.1661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876F1D #1D3587
analogous
#873A1D #876F1D #6A871D
triadic
#876F1D #1D876F #6F1D87
tetradic
#876F1D #1D873A #1D3587 #871D6A
square
#876F1D #1D873A #1D3587 #871D6A
split-complementary
#876F1D #1D6A87 #3A1D87
monochromatic
#221C07 #554612 #876F1D #B99828 #D7B747

Accessibility & contrast

On white

4.86
#876F1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#876F1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #876F1D
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876F1D#FFFFFF#000000##FFFFFF
##876F1D1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D0E
Deuteranopia (green-blind)
#827422
Tritanopia (blue-blind)
#93655F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #876f1d;
/* rgb */ color: rgb(135, 111, 29);
/* oklch */ color: oklch(55.0% 0.101 91.8);
Tailwind
colors: {
  custom: {
    50: '#ae9860',
    500: '#876f1d',
    950: '#000000',
  },
}
SCSS
$custom: #876f1d;
$custom-light: #ae9860;
$custom-dark: #000000;
JSON
{
  "hex": "#876f1d",
  "rgb": {
    "r": 135,
    "g": 111,
    "b": 29
  },
  "hsl": {
    "h": 46.415,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54999,
    "c": 0.10117,
    "h": 91.8
  },
  "luminance": 0.16608
}

Semantic roles & 50–950 ramp

primary
#876F1D
secondary
#4660B9
accent
#66E840
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #876F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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