#876C18#876C18
#876C18 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 54.3% C 0.102 H 89.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #876C18 |
|---|---|
| RGB | rgb(135, 108, 24) |
| HSL | hsl(45, 70%, 31%) |
| HSV | hsv(45, 82%, 53%) |
| CMYK | cmyk(0%, 20%, 82.2%, 47.1%) |
| CIE-LAB | lab(46.90, 2.17, 47.22) |
| CIE-LCH | lch(46.90, 47.27, 87.37°) |
| OKLab | oklab(54.31% 0.0007 0.1023) |
| OKLCH | oklch(54.31% 0.102 89.6) |
| XYZ | xyz(15.5201, 15.9430, 3.1238) |
| Luminance | 0.1594 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Brown
#886806
ΔE00 2.19
Poo
#8F7303
ΔE00 3.67
Hazel
#8E7618
ΔE00 4.04
Shit
#7F5F00
ΔE00 4.86
Puke Brown
#947706
ΔE00 5.12
Poop
#7F5E00
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#876C18 #183387
analogous
#873418 #876C18 #6A8718
triadic
#876C18 #18876C #6C1887
tetradic
#876C18 #188734 #183387 #87186A
square
#876C18 #188734 #183387 #87186A
split-complementary
#876C18 #186A87 #341887
monochromatic
#1F1906 #53420F #876C18 #BB9621 #DCB63D
Accessibility & contrast
On white
5.01
#876C18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#876C18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #876C18
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##876C18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##876C18 | 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)
#796B05
Deuteranopia (green-blind)
#80721D
Tritanopia (blue-blind)
#93625C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #876c18; /* rgb */ color: rgb(135, 108, 24); /* oklch */ color: oklch(54.3% 0.102 89.6);
Tailwind
colors: {
custom: {
50: '#ae955d',
500: '#876c18',
950: '#000000',
},
}SCSS
$custom: #876c18; $custom-light: #ae955d; $custom-dark: #000000;
JSON
{
"hex": "#876c18",
"rgb": {
"r": 135,
"g": 108,
"b": 24
},
"hsl": {
"h": 45.405,
"s": 69.811,
"l": 31.176
},
"oklch": {
"l": 0.54308,
"c": 0.10227,
"h": 89.6
},
"luminance": 0.15942
}Semantic roles & 50–950 ramp
primary
#876C18
secondary
#405EBB
accent
#66ED3B
background
#FBF9F5
surface
#F6F1E9
border
#D0CBC5
text
#110D04
muted
#807E79