#87861A#87861A
#87861A is a mid, vivid yellow. Relative luminance 0.223; OKLCH L 60.2% C 0.122 H 109.0°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #87861A |
|---|---|
| RGB | rgb(135, 134, 26) |
| HSL | hsl(59, 68%, 32%) |
| HSV | hsv(59, 81%, 53%) |
| CMYK | cmyk(0%, 0.7%, 80.7%, 47.1%) |
| CIE-LAB | lab(54.32, -12.27, 53.18) |
| CIE-LCH | lch(54.32, 54.57, 102.99°) |
| OKLab | oklab(60.2% -0.0398 0.1155) |
| OKLCH | oklch(60.2% 0.122 109) |
| XYZ | xyz(18.7040, 22.2763, 4.2916) |
| Luminance | 0.2228 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.59
Shit Green
#758000
ΔE00 4.54
Swamp Green
#748500
ΔE00 5.00
Poop Green
#6F7C00
ΔE00 6.17
Baby Shit Green
#889717
ΔE00 6.41
Baby Poop Green
#8F9805
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87861A #1A1B87
analogous
#87501A #87861A #52871A
triadic
#87861A #1A8786 #861A87
tetradic
#87861A #1A8750 #1A1B87 #871A52
square
#87861A #1A8750 #1A1B87 #871A52
split-complementary
#87861A #1A5287 #501A87
monochromatic
#202006 #545310 #87861A #BAB924 #DAD941
Accessibility & contrast
On white
3.85
#87861A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.46
#87861A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #87861A
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87861A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##87861A | 1.00 | 3.85 | 5.46 | 5.46 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#938324
Tritanopia (blue-blind)
#917D72
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #87861a; /* rgb */ color: rgb(135, 134, 26); /* oklch */ color: oklch(60.2% 0.122 109.0);
Tailwind
colors: {
custom: {
50: '#ada961',
500: '#87861a',
950: '#000000',
},
}SCSS
$custom: #87861a; $custom-light: #ada961; $custom-dark: #000000;
JSON
{
"hex": "#87861a",
"rgb": {
"r": 135,
"g": 134,
"b": 26
},
"hsl": {
"h": 59.45,
"s": 67.702,
"l": 31.569
},
"oklch": {
"l": 0.60199,
"c": 0.12216,
"h": 109
},
"luminance": 0.22276
}Semantic roles & 50–950 ramp
primary
#87861A
secondary
#4244BA
accent
#3FEB3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A