#87771F#87771F
#87771F is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.8% C 0.106 H 98.5°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #87771F |
|---|---|
| RGB | rgb(135, 119, 31) |
| HSL | hsl(51, 63%, 33%) |
| HSV | hsv(51, 77%, 53%) |
| CMYK | cmyk(0%, 11.9%, 77%, 47.1%) |
| CIE-LAB | lab(50.03, -3.81, 47.53) |
| CIE-LCH | lch(50.03, 47.68, 94.58°) |
| OKLab | oklab(56.8% -0.0155 0.1045) |
| OKLCH | oklch(56.8% 0.106 98.5) |
| XYZ | xyz(16.8367, 18.4443, 3.9693) |
| Luminance | 0.1844 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 2.71
Ugly Brown
#7D7103
ΔE00 3.42
Baby Poop
#937C00
ΔE00 4.29
Poo
#8F7303
ΔE00 4.32
Puke Brown
#947706
ΔE00 4.68
Olive
#808000
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87771F #1F2F87
analogous
#87431F #87771F #63871F
triadic
#87771F #1F8777 #771F87
tetradic
#87771F #1F8743 #1F2F87 #871F63
square
#87771F #1F8743 #1F2F87 #871F63
split-complementary
#87771F #1F6387 #431F87
monochromatic
#231F08 #554B14 #87771F #B9A32A #D6C04B
Accessibility & contrast
On white
4.48
#87771F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#87771F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #87771F
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87771F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##87771F | 1.00 | 4.48 | 4.69 | 4.69 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83740F
Deuteranopia (green-blind)
#887925
Tritanopia (blue-blind)
#926E66
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #87771f; /* rgb */ color: rgb(135, 119, 31); /* oklch */ color: oklch(56.8% 0.106 98.5);
Tailwind
colors: {
custom: {
50: '#ad9d62',
500: '#87771f',
950: '#000000',
},
}SCSS
$custom: #87771f; $custom-light: #ad9d62; $custom-dark: #000000;
JSON
{
"hex": "#87771f",
"rgb": {
"r": 135,
"g": 119,
"b": 31
},
"hsl": {
"h": 50.769,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.56796,
"c": 0.10561,
"h": 98.5
},
"luminance": 0.18443
}Semantic roles & 50–950 ramp
primary
#87771F
secondary
#4A5BB8
accent
#5BE642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A