#baac82
a balanced, soft yellow · cool · closest name: tan
RGB
186, 172, 130
HSL
45°, 29%, 62%
CMYK
0, 8, 30, 27
Luminance
0.4156
Every format
| HEX | #baac82 |
| RGB | rgb(186, 172, 130) |
| HSL | hsl(45, 29%, 62%) |
| CMYK | cmyk(0%, 8%, 30%, 27%) |
| LAB | lab(70.6 -1.5 23.5) |
| LCH | lch(70.6 23.5 93.6) |
| OKLCH | oklch(0.746 0.059 91.8) |
Copy-ready code
/* CSS */
color: #baac82;
background-color: #baac82;
/* Tailwind (arbitrary) */
class="text-[#baac82] bg-[#baac82]"
/* SCSS */
$brand: #baac82;
/* SwiftUI */
Color(red: 0.729, green: 0.675, blue: 0.510)
/* Android */
Color.parseColor("#baac82")Accessibility — WCAG contrast
Aa
#baac82 on white: 2.26:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#baac82 on black: 9.31:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green67.5%
Blue51.0%
CMYK percentages
Cyan0.0%
Magenta7.5%
Yellow30.1%
Key (black)27.1%
Color previews
#baac82 text on a black background
contrast 9.31:1
Card sample
#baac82 text on a white background
contrast 2.26:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #baac82;
Background color
Panel with #baac82 background
background-color: #baac82;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #baac82;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 172, 130, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 172, 130, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baac82; background: linear-gradient(135deg, #baac82, #A3BA82);