#87771C#87771C
#87771C is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.8% C 0.107 H 98.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #87771C |
|---|---|
| RGB | rgb(135, 119, 28) |
| HSL | hsl(51, 66%, 32%) |
| HSV | hsv(51, 79%, 53%) |
| CMYK | cmyk(0%, 11.9%, 79.3%, 47.1%) |
| CIE-LAB | lab(50.01, -3.94, 48.62) |
| CIE-LCH | lch(50.01, 48.78, 94.63°) |
| OKLab | oklab(56.78% -0.0162 0.1062) |
| OKLCH | oklch(56.78% 0.107 98.7) |
| XYZ | xyz(16.7990, 18.4292, 3.7707) |
| Luminance | 0.1843 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 2.66
Ugly Brown
#7D7103
ΔE00 3.25
Baby Poop
#937C00
ΔE00 4.08
Poo
#8F7303
ΔE00 4.20
Puke Brown
#947706
ΔE00 4.56
Olive
#808000
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87771C #1C2C87
analogous
#87421C #87771C #62871C
triadic
#87771C #1C8777 #771C87
tetradic
#87771C #1C8742 #1C2C87 #871C62
square
#87771C #1C8742 #1C2C87 #871C62
split-complementary
#87771C #1C6287 #421C87
monochromatic
#221E07 #544A11 #87771C #BAA427 #D8C245
Accessibility & contrast
On white
4.48
#87771C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#87771C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #87771C
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87771C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##87771C | 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)
#837408
Deuteranopia (green-blind)
#887922
Tritanopia (blue-blind)
#926E66
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #87771c; /* rgb */ color: rgb(135, 119, 28); /* oklch */ color: oklch(56.8% 0.107 98.7);
Tailwind
colors: {
custom: {
50: '#ae9d60',
500: '#87771c',
950: '#000000',
},
}SCSS
$custom: #87771c; $custom-light: #ae9d60; $custom-dark: #000000;
JSON
{
"hex": "#87771c",
"rgb": {
"r": 135,
"g": 119,
"b": 28
},
"hsl": {
"h": 51.028,
"s": 65.644,
"l": 31.961
},
"oklch": {
"l": 0.56776,
"c": 0.10739,
"h": 98.7
},
"luminance": 0.18428
}Semantic roles & 50–950 ramp
primary
#87771C
secondary
#4556BA
accent
#59E93F
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79