#87891B#87891B
#87891B 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 | #87891B |
|---|---|
| RGB | rgb(135, 137, 27) |
| HSL | hsl(61, 67%, 32%) |
| HSV | hsv(61, 80%, 54%) |
| CMYK | cmyk(1.5%, 0%, 80.3%, 46.3%) |
| CIE-LAB | lab(55.20, -13.84, 53.65) |
| CIE-LCH | lch(55.20, 55.40, 104.46°) |
| OKLab | oklab(60.9% -0.0441 0.1167) |
| OKLCH | oklch(60.9% 0.125 110.7) |
| XYZ | xyz(19.1359, 23.1219, 4.4917) |
| Luminance | 0.2312 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.45
Swamp Green
#748500
ΔE00 4.62
Shit Green
#758000
ΔE00 4.70
Baby Shit Green
#889717
ΔE00 5.20
Baby Poop Green
#8F9805
ΔE00 5.40
Pea Soup
#929901
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87891B #1D1B89
analogous
#89541B #87891B #50891B
triadic
#87891B #1B8789 #891B87
tetradic
#87891B #1B8954 #1D1B89 #891B50
square
#87891B #1B8954 #1D1B89 #891B50
split-complementary
#87891B #1B5089 #541B89
monochromatic
#222307 #555611 #87891B #B9BC25 #D7DA44
Accessibility & contrast
On white
3.73
#87891B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.62
#87891B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #87891B
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87891B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##87891B | 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)
#958625
Tritanopia (blue-blind)
#918075
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #87891b; /* rgb */ color: rgb(135, 137, 27); /* oklch */ color: oklch(60.9% 0.125 110.7);
Tailwind
colors: {
custom: {
50: '#adab62',
500: '#87891b',
950: '#000000',
},
}SCSS
$custom: #87891b; $custom-light: #adab62; $custom-dark: #000000;
JSON
{
"hex": "#87891b",
"rgb": {
"r": 135,
"g": 137,
"b": 27
},
"hsl": {
"h": 61.091,
"s": 67.073,
"l": 32.157
},
"oklch": {
"l": 0.60903,
"c": 0.12474,
"h": 110.7
},
"luminance": 0.23121
}Semantic roles & 50–950 ramp
primary
#87891B
secondary
#4644BC
accent
#3EEA41
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A