#87801F#87801F
#87801F is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.8% C 0.114 H 105.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #87801F |
|---|---|
| RGB | rgb(135, 128, 31) |
| HSL | hsl(56, 63%, 33%) |
| HSV | hsv(56, 77%, 53%) |
| CMYK | cmyk(0%, 5.2%, 77%, 47.1%) |
| CIE-LAB | lab(52.61, -8.81, 49.95) |
| CIE-LCH | lch(52.61, 50.72, 100.00°) |
| OKLab | oklab(58.84% -0.0297 0.1096) |
| OKLCH | oklch(58.84% 0.114 105.1) |
| XYZ | xyz(17.9589, 20.6889, 4.3434) |
| Luminance | 0.2069 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.83
Shit Green
#758000
ΔE00 5.38
Baby Poop
#937C00
ΔE00 5.46
Ugly Brown
#7D7103
ΔE00 5.81
Hazel
#8E7618
ΔE00 6.12
Drab
#828344
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87801F #1F2687
analogous
#874C1F #87801F #5A871F
triadic
#87801F #1F8780 #801F87
tetradic
#87801F #1F874C #1F2687 #871F5A
square
#87801F #1F874C #1F2687 #871F5A
split-complementary
#87801F #1F5A87 #4C1F87
monochromatic
#232208 #555114 #87801F #B9AF2A #D6CC4B
Accessibility & contrast
On white
4.09
#87801F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#87801F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #87801F
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87801F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##87801F | 1.00 | 4.09 | 5.14 | 5.14 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B0A
Deuteranopia (green-blind)
#8E7F26
Tritanopia (blue-blind)
#91776E
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #87801f; /* rgb */ color: rgb(135, 128, 31); /* oklch */ color: oklch(58.8% 0.114 105.1);
Tailwind
colors: {
custom: {
50: '#ada463',
500: '#87801f',
950: '#000000',
},
}SCSS
$custom: #87801f; $custom-light: #ada463; $custom-dark: #000000;
JSON
{
"hex": "#87801f",
"rgb": {
"r": 135,
"g": 128,
"b": 31
},
"hsl": {
"h": 55.962,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.58843,
"c": 0.11354,
"h": 105.1
},
"luminance": 0.20688
}Semantic roles & 50–950 ramp
primary
#87801F
secondary
#4A51B8
accent
#4DE642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A