#b29f52
a balanced, soft yellow · cool · closest name: tan
RGB
178, 159, 82
HSL
48°, 38%, 51%
CMYK
0, 11, 54, 30
Luminance
0.3487
Every format
| HEX | #b29f52 |
| RGB | rgb(178, 159, 82) |
| HSL | hsl(48, 38%, 51%) |
| CMYK | cmyk(0%, 11%, 54%, 30%) |
| LAB | lab(65.7 -3.1 42.3) |
| LCH | lch(65.7 42.4 94.2) |
| OKLCH | oklch(0.703 0.100 95.8) |
Copy-ready code
/* CSS */
color: #b29f52;
background-color: #b29f52;
/* Tailwind (arbitrary) */
class="text-[#b29f52] bg-[#b29f52]"
/* SCSS */
$brand: #b29f52;
/* SwiftUI */
Color(red: 0.698, green: 0.624, blue: 0.322)
/* Android */
Color.parseColor("#b29f52")Accessibility — WCAG contrast
Aa
#b29f52 on white: 2.63:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b29f52 on black: 7.97:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.8%
Green62.4%
Blue32.2%
CMYK percentages
Cyan0.0%
Magenta10.7%
Yellow53.9%
Key (black)30.2%
Color previews
#b29f52 text on a black background
contrast 7.97:1
Card sample
#b29f52 text on a white background
contrast 2.63:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b29f52;
Background color
Panel with #b29f52 background
background-color: #b29f52;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b29f52;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(178, 159, 82, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 159, 82, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b29f52; background: linear-gradient(135deg, #b29f52, #85B252);