#8f7f49
a dark, soft yellow · cool · closest name: tan
RGB
143, 127, 73
HSL
46°, 32%, 42%
CMYK
0, 11, 49, 44
Luminance
0.2150
Every format
| HEX | #8f7f49 |
| RGB | rgb(143, 127, 73) |
| HSL | hsl(46, 32%, 42%) |
| CMYK | cmyk(0%, 11%, 49%, 44%) |
| LAB | lab(53.5 -1.6 31.4) |
| LCH | lch(53.5 31.5 92.8) |
| OKLCH | oklch(0.599 0.076 93.4) |
Copy-ready code
/* CSS */
color: #8f7f49;
background-color: #8f7f49;
/* Tailwind (arbitrary) */
class="text-[#8f7f49] bg-[#8f7f49]"
/* SCSS */
$brand: #8f7f49;
/* SwiftUI */
Color(red: 0.561, green: 0.498, blue: 0.286)
/* Android */
Color.parseColor("#8f7f49")Accessibility — WCAG contrast
Aa
#8f7f49 on white: 3.96:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#8f7f49 on black: 5.30:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red56.1%
Green49.8%
Blue28.6%
CMYK percentages
Cyan0.0%
Magenta11.2%
Yellow49.0%
Key (black)43.9%
Color previews
#8f7f49 text on a black background
contrast 5.30:1
Card sample
#8f7f49 text on a white background
contrast 3.96:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8f7f49;
Background color
Panel with #8f7f49 background
background-color: #8f7f49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8f7f49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(143, 127, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(143, 127, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8f7f49; background: linear-gradient(135deg, #8f7f49, #708F49);