#87811E#87811E
#87811E is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.1% C 0.115 H 105.8°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #87811E |
|---|---|
| RGB | rgb(135, 129, 30) |
| HSL | hsl(57, 64%, 32%) |
| HSV | hsv(57, 78%, 53%) |
| CMYK | cmyk(0%, 4.4%, 77.8%, 47.1%) |
| CIE-LAB | lab(52.89, -9.40, 50.57) |
| CIE-LCH | lch(52.89, 51.44, 100.53°) |
| OKLab | oklab(59.07% -0.0314 0.1107) |
| OKLCH | oklch(59.07% 0.115 105.8) |
| XYZ | xyz(18.0770, 20.9458, 4.3188) |
| Luminance | 0.2094 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.58
Shit Green
#758000
ΔE00 5.14
Baby Poop
#937C00
ΔE00 5.71
Ugly Brown
#7D7103
ΔE00 6.16
Drab
#828344
ΔE00 6.28
Swamp Green
#748500
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87811E #1E2487
analogous
#874C1E #87811E #59871E
triadic
#87811E #1E8781 #811E87
tetradic
#87811E #1E874C #1E2487 #871E59
square
#87811E #1E874C #1E2487 #871E59
split-complementary
#87811E #1E5987 #4C1E87
monochromatic
#232108 #555113 #87811E #B9B129 #D7CE49
Accessibility & contrast
On white
4.05
#87811E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#87811E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #87811E
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87811E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##87811E | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C07
Deuteranopia (green-blind)
#8F8026
Tritanopia (blue-blind)
#91786E
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #87811e; /* rgb */ color: rgb(135, 129, 30); /* oklch */ color: oklch(59.1% 0.115 105.8);
Tailwind
colors: {
custom: {
50: '#ada563',
500: '#87811e',
950: '#000000',
},
}SCSS
$custom: #87811e; $custom-light: #ada563; $custom-dark: #000000;
JSON
{
"hex": "#87811e",
"rgb": {
"r": 135,
"g": 129,
"b": 30
},
"hsl": {
"h": 56.571,
"s": 63.636,
"l": 32.353
},
"oklch": {
"l": 0.59066,
"c": 0.11509,
"h": 105.8
},
"luminance": 0.20945
}Semantic roles & 50–950 ramp
primary
#87811E
secondary
#484EB9
accent
#4BE741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A