#87871F#87871F
#87871F 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.52:1 contrast (WCAG AA passes).
Color values
| HEX | #87871F |
|---|---|
| RGB | rgb(135, 135, 31) |
| HSL | hsl(60, 63%, 33%) |
| HSV | hsv(60, 77%, 53%) |
| CMYK | cmyk(0%, 0%, 77%, 47.1%) |
| CIE-LAB | lab(54.64, -12.60, 51.84) |
| CIE-LCH | lch(54.64, 53.35, 103.67°) |
| OKLab | oklab(60.46% -0.0403 0.1136) |
| OKLCH | oklch(60.46% 0.121 109.5) |
| XYZ | xyz(18.9037, 22.5783, 4.6583) |
| Luminance | 0.2258 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.05
Shit Green
#758000
ΔE00 4.62
Swamp Green
#748500
ΔE00 4.89
Baby Shit Green
#889717
ΔE00 6.07
Poop Green
#6F7C00
ΔE00 6.26
Baby Poop Green
#8F9805
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87871F #1F1F87
analogous
#87531F #87871F #53871F
triadic
#87871F #1F8787 #871F87
tetradic
#87871F #1F8753 #1F1F87 #871F53
square
#87871F #1F8753 #1F1F87 #871F53
split-complementary
#87871F #1F5387 #531F87
monochromatic
#232308 #555514 #87871F #B9B92A #D6D64B
Accessibility & contrast
On white
3.81
#87871F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#87871F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #87871F
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87871F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##87871F | 1.00 | 3.81 | 5.52 | 5.52 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928106
Deuteranopia (green-blind)
#948428
Tritanopia (blue-blind)
#917E73
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #87871f; /* rgb */ color: rgb(135, 135, 31); /* oklch */ color: oklch(60.5% 0.121 109.5);
Tailwind
colors: {
custom: {
50: '#ada964',
500: '#87871f',
950: '#000000',
},
}SCSS
$custom: #87871f; $custom-light: #ada964; $custom-dark: #000000;
JSON
{
"hex": "#87871f",
"rgb": {
"r": 135,
"g": 135,
"b": 31
},
"hsl": {
"h": 60,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.6046,
"c": 0.12054,
"h": 109.5
},
"luminance": 0.22578
}Semantic roles & 50–950 ramp
primary
#87871F
secondary
#4A4AB8
accent
#42E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A