#87772F#87772F
#87772F is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.9% C 0.094 H 96.7°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #87772F |
|---|---|
| RGB | rgb(135, 119, 47) |
| HSL | hsl(49, 48%, 36%) |
| HSV | hsv(49, 65%, 53%) |
| CMYK | cmyk(0%, 11.9%, 65.2%, 47.1%) |
| CIE-LAB | lab(50.16, -2.88, 40.73) |
| CIE-LCH | lch(50.16, 40.83, 94.05°) |
| OKLab | oklab(56.94% -0.011 0.093) |
| OKLCH | oklch(56.94% 0.094 96.7) |
| XYZ | xyz(17.1023, 18.5506, 5.3686) |
| Luminance | 0.1855 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.84
Ugly Brown
#7D7103
ΔE00 5.05
Poo
#8F7303
ΔE00 5.55
Puke Brown
#947706
ΔE00 5.88
Baby Poop
#937C00
ΔE00 5.97
Brown Green
#706C11
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87772F #2F3F87
analogous
#874B2F #87772F #6B872F
triadic
#87772F #2F8777 #772F87
tetradic
#87772F #2F874B #2F3F87 #872F6B
square
#87772F #2F874B #2F3F87 #872F6B
split-complementary
#87772F #2F6B87 #4B2F87
monochromatic
#2C270F #5A4F1F #87772F #B49F3F #CAB866
Accessibility & contrast
On white
4.46
#87772F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#87772F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #87772F
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87772F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##87772F | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837427
Deuteranopia (green-blind)
#877A33
Tritanopia (blue-blind)
#916E68
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #87772f; /* rgb */ color: rgb(135, 119, 47); /* oklch */ color: oklch(56.9% 0.094 96.7);
Tailwind
colors: {
custom: {
50: '#ad9e6b',
500: '#87772f',
950: '#000000',
},
}SCSS
$custom: #87772f; $custom-light: #ad9e6b; $custom-dark: #000000;
JSON
{
"hex": "#87772f",
"rgb": {
"r": 135,
"g": 119,
"b": 47
},
"hsl": {
"h": 49.091,
"s": 48.352,
"l": 35.686
},
"oklch": {
"l": 0.56936,
"c": 0.09365,
"h": 96.7
},
"luminance": 0.1855
}Semantic roles & 50–950 ramp
primary
#87772F
secondary
#616FB1
accent
#69D850
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110E07
muted
#807E7A