#87891F#87891F
#87891F is a mid, vivid yellow. Relative luminance 0.231; OKLCH L 60.9% C 0.123 H 110.7°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #87891F |
|---|---|
| RGB | rgb(135, 137, 31) |
| HSL | hsl(61, 63%, 33%) |
| HSV | hsv(61, 77%, 54%) |
| CMYK | cmyk(1.5%, 0%, 77.4%, 46.3%) |
| CIE-LAB | lab(55.22, -13.67, 52.37) |
| CIE-LCH | lch(55.22, 54.13, 104.63°) |
| OKLab | oklab(60.93% -0.0433 0.1148) |
| OKLCH | oklch(60.93% 0.123 110.7) |
| XYZ | xyz(19.1853, 23.1417, 4.7522) |
| Luminance | 0.2314 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.59
Swamp Green
#748500
ΔE00 4.66
Shit Green
#758000
ΔE00 4.75
Baby Shit Green
#889717
ΔE00 5.26
Baby Poop Green
#8F9805
ΔE00 5.55
Pea Soup
#929901
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87891F #211F89
analogous
#89561F #87891F #52891F
triadic
#87891F #1F8789 #891F87
tetradic
#87891F #1F8956 #211F89 #891F52
square
#87891F #1F8956 #211F89 #891F52
split-complementary
#87891F #1F5289 #561F89
monochromatic
#252508 #565714 #87891F #B8BB2A #D4D64C
Accessibility & contrast
On white
3.73
#87891F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.63
#87891F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #87891F
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87891F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##87891F | 1.00 | 3.73 | 5.63 | 5.63 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948305
Deuteranopia (green-blind)
#958628
Tritanopia (blue-blind)
#918075
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #87891f; /* rgb */ color: rgb(135, 137, 31); /* oklch */ color: oklch(60.9% 0.123 110.7);
Tailwind
colors: {
custom: {
50: '#adab64',
500: '#87891f',
950: '#000000',
},
}SCSS
$custom: #87891f; $custom-light: #adab64; $custom-dark: #000000;
JSON
{
"hex": "#87891f",
"rgb": {
"r": 135,
"g": 137,
"b": 31
},
"hsl": {
"h": 61.132,
"s": 63.095,
"l": 32.941
},
"oklch": {
"l": 0.60926,
"c": 0.12263,
"h": 110.7
},
"luminance": 0.23141
}Semantic roles & 50–950 ramp
primary
#87891F
secondary
#4D4BB9
accent
#42E645
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A