#87811F#87811F
#87811F 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 | #87811F |
|---|---|
| RGB | rgb(135, 129, 31) |
| HSL | hsl(57, 63%, 33%) |
| HSV | hsv(57, 77%, 53%) |
| CMYK | cmyk(0%, 4.4%, 77%, 47.1%) |
| CIE-LAB | lab(52.90, -9.36, 50.22) |
| CIE-LCH | lch(52.90, 51.08, 100.55°) |
| OKLab | oklab(59.07% -0.0312 0.1102) |
| OKLCH | oklch(59.07% 0.115 105.8) |
| XYZ | xyz(18.0900, 20.9510, 4.3871) |
| Luminance | 0.2095 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.65
Shit Green
#758000
ΔE00 5.16
Baby Poop
#937C00
ΔE00 5.75
Ugly Brown
#7D7103
ΔE00 6.18
Drab
#828344
ΔE00 6.18
Swamp Green
#748500
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87811F #1F2587
analogous
#874D1F #87811F #59871F
triadic
#87811F #1F8781 #811F87
tetradic
#87811F #1F874D #1F2587 #871F59
square
#87811F #1F874D #1F2587 #871F59
split-complementary
#87811F #1F5987 #4D1F87
monochromatic
#232208 #555114 #87811F #B9B12A #D6CE4B
Accessibility & contrast
On white
4.05
#87811F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#87811F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #87811F
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87811F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##87811F | 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)
#8D7C0A
Deuteranopia (green-blind)
#8F8027
Tritanopia (blue-blind)
#91786E
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #87811f; /* rgb */ color: rgb(135, 129, 31); /* oklch */ color: oklch(59.1% 0.115 105.8);
Tailwind
colors: {
custom: {
50: '#ada563',
500: '#87811f',
950: '#000000',
},
}SCSS
$custom: #87811f; $custom-light: #ada563; $custom-dark: #000000;
JSON
{
"hex": "#87811f",
"rgb": {
"r": 135,
"g": 129,
"b": 31
},
"hsl": {
"h": 56.538,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.59072,
"c": 0.11451,
"h": 105.8
},
"luminance": 0.2095
}Semantic roles & 50–950 ramp
primary
#87811F
secondary
#4A50B8
accent
#4CE642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A