#baac32
a balanced, vivid yellow · cool · closest name: olive
RGB
186, 172, 50
HSL
54°, 58%, 46%
CMYK
0, 8, 73, 27
Luminance
0.4017
Every format
| HEX | #baac32 |
| RGB | rgb(186, 172, 50) |
| HSL | hsl(54, 58%, 46%) |
| CMYK | cmyk(0%, 8%, 73%, 27%) |
| LAB | lab(69.6 -8.6 60.8) |
| LCH | lch(69.6 61.4 98.0) |
| OKLCH | oklch(0.735 0.138 102.6) |
Copy-ready code
/* CSS */
color: #baac32;
background-color: #baac32;
/* Tailwind (arbitrary) */
class="text-[#baac32] bg-[#baac32]"
/* SCSS */
$brand: #baac32;
/* SwiftUI */
Color(red: 0.729, green: 0.675, blue: 0.196)
/* Android */
Color.parseColor("#baac32")Accessibility — WCAG contrast
Aa
#baac32 on white: 2.32:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#baac32 on black: 9.03:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green67.5%
Blue19.6%
CMYK percentages
Cyan0.0%
Magenta7.5%
Yellow73.1%
Key (black)27.1%
Color previews
#baac32 text on a black background
contrast 9.03:1
Card sample
#baac32 text on a white background
contrast 2.32:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #baac32;
Background color
Panel with #baac32 background
background-color: #baac32;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #baac32;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 172, 50, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 172, 50, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baac32; background: linear-gradient(135deg, #baac32, #6DBA32);