#baaa13
a dark, electric yellow · cool · closest name: olive
RGB
186, 170, 19
HSL
54°, 82%, 40%
CMYK
0, 9, 90, 27
Luminance
0.3924
Every format
| HEX | #baaa13 |
| RGB | rgb(186, 170, 19) |
| HSL | hsl(54, 82%, 40%) |
| CMYK | cmyk(0%, 9%, 90%, 27%) |
| LAB | lab(68.9 -8.5 68.8) |
| LCH | lch(68.9 69.3 97.1) |
| OKLCH | oklch(0.729 0.149 102.5) |
Copy-ready code
/* CSS */
color: #baaa13;
background-color: #baaa13;
/* Tailwind (arbitrary) */
class="text-[#baaa13] bg-[#baaa13]"
/* SCSS */
$brand: #baaa13;
/* SwiftUI */
Color(red: 0.729, green: 0.667, blue: 0.075)
/* Android */
Color.parseColor("#baaa13")Accessibility — WCAG contrast
Aa
#baaa13 on white: 2.37:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#baaa13 on black: 8.85:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green66.7%
Blue7.5%
CMYK percentages
Cyan0.0%
Magenta8.6%
Yellow89.8%
Key (black)27.1%
Color previews
#baaa13 text on a black background
contrast 8.85:1
Card sample
#baaa13 text on a white background
contrast 2.37:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #baaa13;
Background color
Panel with #baaa13 background
background-color: #baaa13;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #baaa13;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 170, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 170, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baaa13; background: linear-gradient(135deg, #baaa13, #5BBA13);