#87881B#87881B
#87881B is a mid, vivid yellow. Relative luminance 0.228; OKLCH L 60.7% C 0.124 H 110.1°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #87881B |
|---|---|
| RGB | rgb(135, 136, 27) |
| HSL | hsl(61, 67%, 32%) |
| HSV | hsv(61, 80%, 53%) |
| CMYK | cmyk(0.7%, 0%, 80.1%, 46.7%) |
| CIE-LAB | lab(54.91, -13.30, 53.39) |
| CIE-LCH | lch(54.91, 55.02, 103.99°) |
| OKLab | oklab(60.67% -0.0426 0.1162) |
| OKLCH | oklch(60.67% 0.124 110.1) |
| XYZ | xyz(18.9944, 22.8389, 4.4445) |
| Luminance | 0.2284 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.15
Shit Green
#758000
ΔE00 4.61
Swamp Green
#748500
ΔE00 4.71
Baby Shit Green
#889717
ΔE00 5.61
Baby Poop Green
#8F9805
ΔE00 5.75
Pea Soup
#929901
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87881B #1C1B88
analogous
#88521B #87881B #51881B
triadic
#87881B #1B8788 #881B87
tetradic
#87881B #1B8852 #1C1B88 #881B51
square
#87881B #1B8852 #1C1B88 #881B51
split-complementary
#87881B #1B5188 #521B88
monochromatic
#222207 #545511 #87881B #BABB25 #D8DA44
Accessibility & contrast
On white
3.77
#87881B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.57
#87881B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #87881B
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87881B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##87881B | 1.00 | 3.77 | 5.57 | 5.57 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#958525
Tritanopia (blue-blind)
#917F74
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #87881b; /* rgb */ color: rgb(135, 136, 27); /* oklch */ color: oklch(60.7% 0.124 110.1);
Tailwind
colors: {
custom: {
50: '#adaa62',
500: '#87881b',
950: '#000000',
},
}SCSS
$custom: #87881b; $custom-light: #adaa62; $custom-dark: #000000;
JSON
{
"hex": "#87881b",
"rgb": {
"r": 135,
"g": 136,
"b": 27
},
"hsl": {
"h": 60.55,
"s": 66.871,
"l": 31.961
},
"oklch": {
"l": 0.6067,
"c": 0.12371,
"h": 110.1
},
"luminance": 0.22838
}Semantic roles & 50–950 ramp
primary
#87881B
secondary
#4544BB
accent
#3EEA40
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A