#bba411
a dark, electric yellow · cool · closest name: olive
RGB
187, 164, 17
HSL
52°, 83%, 40%
CMYK
0, 12, 91, 27
Luminance
0.3716
Every format
| HEX | #bba411 |
| RGB | rgb(187, 164, 17) |
| HSL | hsl(52, 83%, 40%) |
| CMYK | cmyk(0%, 12%, 91%, 27%) |
| LAB | lab(67.4 -5.0 68.0) |
| LCH | lch(67.4 68.2 94.2) |
| OKLCH | oklch(0.717 0.145 98.9) |
Copy-ready code
/* CSS */
color: #bba411;
background-color: #bba411;
/* Tailwind (arbitrary) */
class="text-[#bba411] bg-[#bba411]"
/* SCSS */
$brand: #bba411;
/* SwiftUI */
Color(red: 0.733, green: 0.643, blue: 0.067)
/* Android */
Color.parseColor("#bba411")Accessibility — WCAG contrast
Aa
#bba411 on white: 2.49:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bba411 on black: 8.43:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red73.3%
Green64.3%
Blue6.7%
CMYK percentages
Cyan0.0%
Magenta12.3%
Yellow90.9%
Key (black)26.7%
Color previews
#bba411 text on a black background
contrast 8.43:1
Card sample
#bba411 text on a white background
contrast 2.49:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bba411;
Background color
Panel with #bba411 background
background-color: #bba411;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bba411;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(187, 164, 17, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(187, 164, 17, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bba411; background: linear-gradient(135deg, #bba411, #61BB11);