#87871E#87871E
#87871E is a mid, vivid yellow. Relative luminance 0.226; OKLCH L 60.5% C 0.121 H 109.5°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #87871E |
|---|---|
| RGB | rgb(135, 135, 30) |
| HSL | hsl(60, 64%, 32%) |
| HSV | hsv(60, 78%, 53%) |
| CMYK | cmyk(0%, 0%, 77.8%, 47.1%) |
| CIE-LAB | lab(54.63, -12.65, 52.17) |
| CIE-LCH | lch(54.63, 53.68, 103.63°) |
| OKLab | oklab(60.45% -0.0405 0.1141) |
| OKLCH | oklch(60.45% 0.121 109.5) |
| XYZ | xyz(18.8907, 22.5732, 4.5900) |
| Luminance | 0.2257 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.00
Shit Green
#758000
ΔE00 4.60
Swamp Green
#748500
ΔE00 4.88
Baby Shit Green
#889717
ΔE00 6.05
Baby Poop Green
#8F9805
ΔE00 6.22
Poop Green
#6F7C00
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87871E #1E1E87
analogous
#87531E #87871E #53871E
triadic
#87871E #1E8787 #871E87
tetradic
#87871E #1E8753 #1E1E87 #871E53
square
#87871E #1E8753 #1E1E87 #871E53
split-complementary
#87871E #1E5387 #531E87
monochromatic
#232308 #555513 #87871E #B9B929 #D7D749
Accessibility & contrast
On white
3.81
#87871E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.51
#87871E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #87871E
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87871E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##87871E | 1.00 | 3.81 | 5.51 | 5.51 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928103
Deuteranopia (green-blind)
#948427
Tritanopia (blue-blind)
#917E73
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #87871e; /* rgb */ color: rgb(135, 135, 30); /* oklch */ color: oklch(60.5% 0.121 109.5);
Tailwind
colors: {
custom: {
50: '#ada963',
500: '#87871e',
950: '#000000',
},
}SCSS
$custom: #87871e; $custom-light: #ada963; $custom-dark: #000000;
JSON
{
"hex": "#87871e",
"rgb": {
"r": 135,
"g": 135,
"b": 30
},
"hsl": {
"h": 60,
"s": 63.636,
"l": 32.353
},
"oklch": {
"l": 0.60454,
"c": 0.1211,
"h": 109.5
},
"luminance": 0.22573
}Semantic roles & 50–950 ramp
primary
#87871E
secondary
#4848B9
accent
#41E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A