#87772B#87772B
#87772B is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.9% C 0.097 H 97.3°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #87772B |
|---|---|
| RGB | rgb(135, 119, 43) |
| HSL | hsl(50, 52%, 35%) |
| HSV | hsv(50, 68%, 53%) |
| CMYK | cmyk(0%, 11.9%, 68.1%, 47.1%) |
| CIE-LAB | lab(50.12, -3.15, 42.56) |
| CIE-LCH | lch(50.12, 42.68, 94.23°) |
| OKLab | oklab(56.9% -0.0123 0.0962) |
| OKLCH | oklch(56.9% 0.097 97.3) |
| XYZ | xyz(17.0253, 18.5198, 4.9629) |
| Luminance | 0.1852 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.41
Ugly Brown
#7D7103
ΔE00 4.53
Poo
#8F7303
ΔE00 5.14
Baby Poop
#937C00
ΔE00 5.46
Puke Brown
#947706
ΔE00 5.48
Brown Green
#706C11
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87772B #2B3B87
analogous
#87492B #87772B #69872B
triadic
#87772B #2B8777 #772B87
tetradic
#87772B #2B8749 #2B3B87 #872B69
square
#87772B #2B8749 #2B3B87 #872B69
split-complementary
#87772B #2B6987 #492B87
monochromatic
#2A250D #594E1C #87772B #B5A03A #CCBA60
Accessibility & contrast
On white
4.46
#87772B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#87772B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #87772B
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87772B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##87772B | 1.00 | 4.46 | 4.70 | 4.70 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837421
Deuteranopia (green-blind)
#877A2F
Tritanopia (blue-blind)
#926E67
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #87772b; /* rgb */ color: rgb(135, 119, 43); /* oklch */ color: oklch(56.9% 0.097 97.3);
Tailwind
colors: {
custom: {
50: '#ad9d68',
500: '#87772b',
950: '#000000',
},
}SCSS
$custom: #87772b; $custom-light: #ad9d68; $custom-dark: #000000;
JSON
{
"hex": "#87772b",
"rgb": {
"r": 135,
"g": 119,
"b": 43
},
"hsl": {
"h": 49.565,
"s": 51.685,
"l": 34.902
},
"oklch": {
"l": 0.56895,
"c": 0.09701,
"h": 97.3
},
"luminance": 0.18519
}Semantic roles & 50–950 ramp
primary
#87772B
secondary
#5B6BB2
accent
#65DB4D
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110E06
muted
#807E7A