#876C1A#876C1A
#876C1A is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 54.3% C 0.101 H 89.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #876C1A |
|---|---|
| RGB | rgb(135, 108, 26) |
| HSL | hsl(45, 68%, 32%) |
| HSV | hsv(45, 81%, 53%) |
| CMYK | cmyk(0%, 20%, 80.7%, 47.1%) |
| CIE-LAB | lab(46.91, 2.25, 46.51) |
| CIE-LCH | lch(46.91, 46.56, 87.23°) |
| OKLab | oklab(54.32% 0.0011 0.1012) |
| OKLCH | oklch(54.32% 0.101 89.4) |
| XYZ | xyz(15.5416, 15.9516, 3.2375) |
| Luminance | 0.1595 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Brown
#886806
ΔE00 2.29
Poo
#8F7303
ΔE00 3.83
Hazel
#8E7618
ΔE00 4.12
Shit
#7F5F00
ΔE00 4.88
Puke Brown
#947706
ΔE00 5.24
Poop
#7F5E00
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#876C1A #1A3587
analogous
#87361A #876C1A #6C871A
triadic
#876C1A #1A876C #6C1A87
tetradic
#876C1A #1A8736 #1A3587 #871A6C
square
#876C1A #1A8736 #1A3587 #871A6C
split-complementary
#876C1A #1A6C87 #361A87
monochromatic
#201A06 #544310 #876C1A #BA9524 #DAB441
Accessibility & contrast
On white
5.01
#876C1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#876C1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #876C1A
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##876C1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##876C1A | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796B09
Deuteranopia (green-blind)
#80721F
Tritanopia (blue-blind)
#93625C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #876c1a; /* rgb */ color: rgb(135, 108, 26); /* oklch */ color: oklch(54.3% 0.101 89.4);
Tailwind
colors: {
custom: {
50: '#ae955e',
500: '#876c1a',
950: '#000000',
},
}SCSS
$custom: #876c1a; $custom-light: #ae955e; $custom-dark: #000000;
JSON
{
"hex": "#876c1a",
"rgb": {
"r": 135,
"g": 108,
"b": 26
},
"hsl": {
"h": 45.138,
"s": 67.702,
"l": 31.569
},
"oklch": {
"l": 0.5432,
"c": 0.1012,
"h": 89.4
},
"luminance": 0.15951
}Semantic roles & 50–950 ramp
primary
#876C1A
secondary
#4260BA
accent
#68EB3D
background
#FBF9F5
surface
#F6F1E9
border
#D0CBC5
text
#110D05
muted
#807E79