#baac01
a dark, electric yellow · cool · closest name: olive
RGB
186, 172, 1
HSL
56°, 99%, 37%
CMYK
0, 8, 100, 27
Luminance
0.3995
Every format
| HEX | #baac01 |
| RGB | rgb(186, 172, 1) |
| HSL | hsl(56, 99%, 37%) |
| CMYK | cmyk(0%, 8%, 100%, 27%) |
| LAB | lab(69.4 -9.8 71.6) |
| LCH | lch(69.4 72.3 97.8) |
| OKLCH | oklch(0.733 0.154 103.7) |
Copy-ready code
/* CSS */
color: #baac01;
background-color: #baac01;
/* Tailwind (arbitrary) */
class="text-[#baac01] bg-[#baac01]"
/* SCSS */
$brand: #baac01;
/* SwiftUI */
Color(red: 0.729, green: 0.675, blue: 0.004)
/* Android */
Color.parseColor("#baac01")Accessibility — WCAG contrast
Aa
#baac01 on white: 2.34:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#baac01 on black: 8.99:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green67.5%
Blue0.4%
CMYK percentages
Cyan0.0%
Magenta7.5%
Yellow99.5%
Key (black)27.1%
Color previews
#baac01 text on a black background
contrast 8.99:1
Card sample
#baac01 text on a white background
contrast 2.34:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #baac01;
Background color
Panel with #baac01 background
background-color: #baac01;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #baac01;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 172, 1, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 172, 1, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baac01; background: linear-gradient(135deg, #baac01, #4DBA01);