#87712F#87712F
#87712F is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.6% C 0.089 H 90.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #87712F |
|---|---|
| RGB | rgb(135, 113, 47) |
| HSL | hsl(45, 48%, 36%) |
| HSV | hsv(45, 65%, 53%) |
| CMYK | cmyk(0%, 16.3%, 65.2%, 47.1%) |
| CIE-LAB | lab(48.47, 0.53, 38.88) |
| CIE-LCH | lch(48.47, 38.89, 89.22°) |
| OKLab | oklab(55.6% -0.0012 0.0891) |
| OKLCH | oklch(55.6% 0.089 90.8) |
| XYZ | xyz(16.4107, 17.1673, 5.1380) |
| Luminance | 0.1717 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 4.39
Poo
#8F7303
ΔE00 5.36
Muddy Brown
#886806
ΔE00 5.43
Puke Brown
#947706
ΔE00 6.15
Ugly Brown
#7D7103
ΔE00 6.21
Dirt
#8A6E45
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87712F #2F4587
analogous
#87452F #87712F #71872F
triadic
#87712F #2F8771 #712F87
tetradic
#87712F #2F8745 #2F4587 #872F71
square
#87712F #2F8745 #2F4587 #872F71
split-complementary
#87712F #2F7187 #452F87
monochromatic
#2C250F #5A4B1F #87712F #B4973F #CAB166
Accessibility & contrast
On white
4.74
#87712F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#87712F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #87712F
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87712F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##87712F | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D6F28
Deuteranopia (green-blind)
#827632
Tritanopia (blue-blind)
#926863
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #87712f; /* rgb */ color: rgb(135, 113, 47); /* oklch */ color: oklch(55.6% 0.089 90.8);
Tailwind
colors: {
custom: {
50: '#ad996a',
500: '#87712f',
950: '#000000',
},
}SCSS
$custom: #87712f; $custom-light: #ad996a; $custom-dark: #000000;
JSON
{
"hex": "#87712f",
"rgb": {
"r": 135,
"g": 113,
"b": 47
},
"hsl": {
"h": 45,
"s": 48.352,
"l": 35.686
},
"oklch": {
"l": 0.55603,
"c": 0.08908,
"h": 90.8
},
"luminance": 0.17166
}Semantic roles & 50–950 ramp
primary
#87712F
secondary
#6175B1
accent
#72D850
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110D07
muted
#807E7A