#b2ac60
a balanced, soft yellow · cool · closest name: tan
RGB
178, 172, 96
HSL
56°, 35%, 54%
CMYK
0, 3, 46, 30
Luminance
0.3981
Every format
| HEX | #b2ac60 |
| RGB | rgb(178, 172, 96) |
| HSL | hsl(56, 35%, 54%) |
| CMYK | cmyk(0%, 3%, 46%, 30%) |
| LAB | lab(69.3 -8.7 39.7) |
| LCH | lch(69.3 40.6 102.4) |
| OKLCH | oklch(0.733 0.098 104.6) |
Copy-ready code
/* CSS */
color: #b2ac60;
background-color: #b2ac60;
/* Tailwind (arbitrary) */
class="text-[#b2ac60] bg-[#b2ac60]"
/* SCSS */
$brand: #b2ac60;
/* SwiftUI */
Color(red: 0.698, green: 0.675, blue: 0.376)
/* Android */
Color.parseColor("#b2ac60")Accessibility — WCAG contrast
Aa
#b2ac60 on white: 2.34:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b2ac60 on black: 8.96:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.8%
Green67.5%
Blue37.6%
CMYK percentages
Cyan0.0%
Magenta3.4%
Yellow46.1%
Key (black)30.2%
Color previews
#b2ac60 text on a black background
contrast 8.96:1
Card sample
#b2ac60 text on a white background
contrast 2.34:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b2ac60;
Background color
Panel with #b2ac60 background
background-color: #b2ac60;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b2ac60;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(178, 172, 96, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 172, 96, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2ac60; background: linear-gradient(135deg, #b2ac60, #81B260);