#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 |
|---|---|
| RGB | rgb(135, 108, 27) |
| HSL | hsl(45, 67%, 32%) |
| HSV | hsv(45, 80%, 53%) |
| CMYK | cmyk(0%, 20%, 80%, 47.1%) |
| CIE-LAB | lab(46.92, 2.29, 46.14) |
| CIE-LCH | lch(46.92, 46.19, 87.16°) |
| OKLab | oklab(54.33% 0.0014 0.1006) |
| OKLCH | oklch(54.33% 0.101 89.2) |
| XYZ | xyz(15.5530, 15.9562, 3.2974) |
| Luminance | 0.1595 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Brown
#886806
ΔE00 2.35
Poo
#8F7303
ΔE00 3.91
Hazel
#8E7618
ΔE00 4.17
Shit
#7F5F00
ΔE00 4.90
Poop
#7F5E00
ΔE00 5.27
Puke Brown
#947706
ΔE00 5.31
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 |
|---|---|---|---|---|
| ##876C1B | 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)
#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