#87861B#87861B
#87861B 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 | #87861B |
|---|---|
| RGB | rgb(135, 134, 27) |
| HSL | hsl(59, 67%, 32%) |
| HSV | hsv(59, 80%, 53%) |
| CMYK | cmyk(0%, 0.7%, 80%, 47.1%) |
| CIE-LAB | lab(54.32, -12.23, 52.87) |
| CIE-LCH | lch(54.32, 54.27, 103.03°) |
| OKLab | oklab(60.21% -0.0396 0.115) |
| OKLCH | oklch(60.21% 0.122 109) |
| XYZ | xyz(18.7153, 22.2808, 4.3515) |
| Luminance | 0.2228 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.63
Shit Green
#758000
ΔE00 4.55
Swamp Green
#748500
ΔE00 5.00
Poop Green
#6F7C00
ΔE00 6.17
Baby Shit Green
#889717
ΔE00 6.42
Baby Poop Green
#8F9805
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87861B #1B1C87
analogous
#87501B #87861B #52871B
triadic
#87861B #1B8786 #861B87
tetradic
#87861B #1B8750 #1B1C87 #871B52
square
#87861B #1B8750 #1B1C87 #871B52
split-complementary
#87861B #1B5287 #501B87
monochromatic
#212107 #545311 #87861B #BAB925 #D9D843
Accessibility & contrast
On white
3.85
#87861B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.46
#87861B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #87861B
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87861B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##87861B | 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: #87861b; /* rgb */ color: rgb(135, 134, 27); /* oklch */ color: oklch(60.2% 0.122 109.0);
Tailwind
colors: {
custom: {
50: '#ada962',
500: '#87861b',
950: '#000000',
},
}SCSS
$custom: #87861b; $custom-light: #ada962; $custom-dark: #000000;
JSON
{
"hex": "#87861b",
"rgb": {
"r": 135,
"g": 134,
"b": 27
},
"hsl": {
"h": 59.444,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.60205,
"c": 0.12166,
"h": 109
},
"luminance": 0.2228
}Semantic roles & 50–950 ramp
primary
#87861B
secondary
#4445BA
accent
#40EA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A