#87771D#87771D
#87771D is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.8% C 0.107 H 98.6°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #87771D |
|---|---|
| RGB | rgb(135, 119, 29) |
| HSL | hsl(51, 65%, 32%) |
| HSV | hsv(51, 79%, 53%) |
| CMYK | cmyk(0%, 11.9%, 78.5%, 47.1%) |
| CIE-LAB | lab(50.02, -3.90, 48.27) |
| CIE-LCH | lch(50.02, 48.42, 94.62°) |
| OKLab | oklab(56.78% -0.016 0.1056) |
| OKLCH | oklch(56.78% 0.107 98.6) |
| XYZ | xyz(16.8111, 18.4341, 3.8348) |
| Luminance | 0.1843 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 2.67
Ugly Brown
#7D7103
ΔE00 3.30
Baby Poop
#937C00
ΔE00 4.15
Poo
#8F7303
ΔE00 4.24
Puke Brown
#947706
ΔE00 4.59
Olive
#808000
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87771D #1D2D87
analogous
#87421D #87771D #62871D
triadic
#87771D #1D8777 #771D87
tetradic
#87771D #1D8742 #1D2D87 #871D62
square
#87771D #1D8742 #1D2D87 #871D62
split-complementary
#87771D #1D6287 #421D87
monochromatic
#221E07 #554B12 #87771D #B9A328 #D7C247
Accessibility & contrast
On white
4.48
#87771D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#87771D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #87771D
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87771D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##87771D | 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)
#83740A
Deuteranopia (green-blind)
#887923
Tritanopia (blue-blind)
#926E66
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #87771d; /* rgb */ color: rgb(135, 119, 29); /* oklch */ color: oklch(56.8% 0.107 98.6);
Tailwind
colors: {
custom: {
50: '#ae9d61',
500: '#87771d',
950: '#000000',
},
}SCSS
$custom: #87771d; $custom-light: #ae9d61; $custom-dark: #000000;
JSON
{
"hex": "#87771d",
"rgb": {
"r": 135,
"g": 119,
"b": 29
},
"hsl": {
"h": 50.943,
"s": 64.634,
"l": 32.157
},
"oklch": {
"l": 0.56782,
"c": 0.10682,
"h": 98.6
},
"luminance": 0.18433
}Semantic roles & 50–950 ramp
primary
#87771D
secondary
#4658B9
accent
#59E840
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79