#87771B#87771B
#87771B is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.8% C 0.108 H 98.8°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #87771B |
|---|---|
| RGB | rgb(135, 119, 27) |
| HSL | hsl(51, 67%, 32%) |
| HSV | hsv(51, 80%, 53%) |
| CMYK | cmyk(0%, 11.9%, 80%, 47.1%) |
| CIE-LAB | lab(50.01, -3.98, 48.97) |
| CIE-LCH | lch(50.01, 49.13, 94.65°) |
| OKLab | oklab(56.77% -0.0165 0.1067) |
| OKLCH | oklch(56.77% 0.108 98.8) |
| XYZ | xyz(16.7872, 18.4245, 3.7088) |
| Luminance | 0.1842 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 2.66
Ugly Brown
#7D7103
ΔE00 3.20
Baby Poop
#937C00
ΔE00 4.02
Poo
#8F7303
ΔE00 4.17
Puke Brown
#947706
ΔE00 4.53
Olive
#808000
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87771B #1B2B87
analogous
#87411B #87771B #61871B
triadic
#87771B #1B8777 #771B87
tetradic
#87771B #1B8741 #1B2B87 #871B61
square
#87771B #1B8741 #1B2B87 #871B61
split-complementary
#87771B #1B6187 #411B87
monochromatic
#211D07 #544A11 #87771B #BAA425 #D9C343
Accessibility & contrast
On white
4.48
#87771B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#87771B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #87771B
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87771B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##87771B | 1.00 | 4.48 | 4.68 | 4.68 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837406
Deuteranopia (green-blind)
#887922
Tritanopia (blue-blind)
#926D66
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #87771b; /* rgb */ color: rgb(135, 119, 27); /* oklch */ color: oklch(56.8% 0.108 98.8);
Tailwind
colors: {
custom: {
50: '#ae9d60',
500: '#87771b',
950: '#000000',
},
}SCSS
$custom: #87771b; $custom-light: #ae9d60; $custom-dark: #000000;
JSON
{
"hex": "#87771b",
"rgb": {
"r": 135,
"g": 119,
"b": 27
},
"hsl": {
"h": 51.111,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.56769,
"c": 0.10796,
"h": 98.8
},
"luminance": 0.18424
}Semantic roles & 50–950 ramp
primary
#87771B
secondary
#4455BA
accent
#58EA3E
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79