#87891A#87891A
#87891A is a mid, vivid yellow. Relative luminance 0.231; OKLCH L 60.9% C 0.125 H 110.7°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #87891A |
|---|---|
| RGB | rgb(135, 137, 26) |
| HSL | hsl(61, 68%, 32%) |
| HSV | hsv(61, 81%, 54%) |
| CMYK | cmyk(1.5%, 0%, 81%, 46.3%) |
| CIE-LAB | lab(55.19, -13.88, 53.95) |
| CIE-LCH | lch(55.19, 55.71, 104.42°) |
| OKLab | oklab(60.9% -0.0442 0.1172) |
| OKLCH | oklch(60.9% 0.125 110.7) |
| XYZ | xyz(19.1245, 23.1173, 4.4318) |
| Luminance | 0.2312 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.42
Swamp Green
#748500
ΔE00 4.61
Shit Green
#758000
ΔE00 4.69
Baby Shit Green
#889717
ΔE00 5.20
Baby Poop Green
#8F9805
ΔE00 5.37
Pea Soup
#929901
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87891A #1C1A89
analogous
#89541A #87891A #50891A
triadic
#87891A #1A8789 #891A87
tetradic
#87891A #1A8954 #1C1A89 #891A50
square
#87891A #1A8954 #1C1A89 #891A50
split-complementary
#87891A #1A5089 #541A89
monochromatic
#222206 #545610 #87891A #BABC24 #D8DB42
Accessibility & contrast
On white
3.73
#87891A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.62
#87891A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #87891A
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87891A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##87891A | 1.00 | 3.73 | 5.62 | 5.62 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948300
Deuteranopia (green-blind)
#958624
Tritanopia (blue-blind)
#918075
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #87891a; /* rgb */ color: rgb(135, 137, 26); /* oklch */ color: oklch(60.9% 0.125 110.7);
Tailwind
colors: {
custom: {
50: '#adab62',
500: '#87891a',
950: '#000000',
},
}SCSS
$custom: #87891a; $custom-light: #adab62; $custom-dark: #000000;
JSON
{
"hex": "#87891a",
"rgb": {
"r": 135,
"g": 137,
"b": 26
},
"hsl": {
"h": 61.081,
"s": 68.098,
"l": 31.961
},
"oklch": {
"l": 0.60898,
"c": 0.12524,
"h": 110.7
},
"luminance": 0.23117
}Semantic roles & 50–950 ramp
primary
#87891A
secondary
#4543BC
accent
#3DEB40
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A