#87811C#87811C
#87811C is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.1% C 0.116 H 105.9°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #87811C |
|---|---|
| RGB | rgb(135, 129, 28) |
| HSL | hsl(57, 66%, 32%) |
| HSV | hsv(57, 79%, 53%) |
| CMYK | cmyk(0%, 4.4%, 79.3%, 47.1%) |
| CIE-LAB | lab(52.88, -9.48, 51.24) |
| CIE-LCH | lch(52.88, 52.11, 100.49°) |
| OKLab | oklab(59.05% -0.0318 0.1118) |
| OKLCH | oklch(59.05% 0.116 105.9) |
| XYZ | xyz(18.0523, 20.9359, 4.1885) |
| Luminance | 0.2094 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.44
Shit Green
#758000
ΔE00 5.10
Baby Poop
#937C00
ΔE00 5.64
Ugly Brown
#7D7103
ΔE00 6.14
Swamp Green
#748500
ΔE00 6.26
Poop Green
#6F7C00
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87811C #1C2287
analogous
#874C1C #87811C #57871C
triadic
#87811C #1C8781 #811C87
tetradic
#87811C #1C874C #1C2287 #871C57
square
#87811C #1C874C #1C2287 #871C57
split-complementary
#87811C #1C5787 #4C1C87
monochromatic
#222007 #545111 #87811C #BAB127 #D8D045
Accessibility & contrast
On white
4.05
#87811C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#87811C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #87811C
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87811C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##87811C | 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)
#8D7C02
Deuteranopia (green-blind)
#8F8024
Tritanopia (blue-blind)
#91786E
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #87811c; /* rgb */ color: rgb(135, 129, 28); /* oklch */ color: oklch(59.1% 0.116 105.9);
Tailwind
colors: {
custom: {
50: '#ada562',
500: '#87811c',
950: '#000000',
},
}SCSS
$custom: #87811c; $custom-light: #ada562; $custom-dark: #000000;
JSON
{
"hex": "#87811c",
"rgb": {
"r": 135,
"g": 129,
"b": 28
},
"hsl": {
"h": 56.636,
"s": 65.644,
"l": 31.961
},
"oklch": {
"l": 0.59054,
"c": 0.11621,
"h": 105.9
},
"luminance": 0.20935
}Semantic roles & 50–950 ramp
primary
#87811C
secondary
#454BBA
accent
#49E93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A