#baac1c
a dark, vivid yellow · cool · closest name: olive
RGB
186, 172, 28
HSL
55°, 74%, 42%
CMYK
0, 8, 85, 27
Luminance
0.4003
Every format
| HEX | #baac1c |
| RGB | rgb(186, 172, 28) |
| HSL | hsl(55, 74%, 42%) |
| CMYK | cmyk(0%, 8%, 85%, 27%) |
| LAB | lab(69.5 -9.4 67.4) |
| LCH | lch(69.5 68.0 97.9) |
| OKLCH | oklch(0.734 0.148 103.3) |
Copy-ready code
/* CSS */
color: #baac1c;
background-color: #baac1c;
/* Tailwind (arbitrary) */
class="text-[#baac1c] bg-[#baac1c]"
/* SCSS */
$brand: #baac1c;
/* SwiftUI */
Color(red: 0.729, green: 0.675, blue: 0.110)
/* Android */
Color.parseColor("#baac1c")Accessibility — WCAG contrast
Aa
#baac1c on white: 2.33:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#baac1c on black: 9.01:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green67.5%
Blue11.0%
CMYK percentages
Cyan0.0%
Magenta7.5%
Yellow84.9%
Key (black)27.1%
Color previews
#baac1c text on a black background
contrast 9.01:1
Card sample
#baac1c text on a white background
contrast 2.33:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #baac1c;
Background color
Panel with #baac1c background
background-color: #baac1c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #baac1c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 172, 28, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 172, 28, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baac1c; background: linear-gradient(135deg, #baac1c, #5FBA1C);