#bacf06
a dark, electric yellow · cool · closest name: yellow
RGB
186, 207, 6
HSL
66°, 94%, 42%
CMYK
10, 0, 97, 19
Luminance
0.5508
Every format
| HEX | #bacf06 |
| RGB | rgb(186, 207, 6) |
| HSL | hsl(66, 94%, 42%) |
| CMYK | cmyk(10%, 0%, 97%, 19%) |
| LAB | lab(79.1 -27.2 78.3) |
| LCH | lch(79.1 82.9 109.2) |
| OKLCH | oklch(0.810 0.186 116.9) |
Copy-ready code
/* CSS */
color: #bacf06;
background-color: #bacf06;
/* Tailwind (arbitrary) */
class="text-[#bacf06] bg-[#bacf06]"
/* SCSS */
$brand: #bacf06;
/* SwiftUI */
Color(red: 0.729, green: 0.812, blue: 0.024)
/* Android */
Color.parseColor("#bacf06")Accessibility — WCAG contrast
Aa
#bacf06 on white: 1.75:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bacf06 on black: 12.02:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green81.2%
Blue2.4%
CMYK percentages
Cyan10.1%
Magenta0.0%
Yellow97.1%
Key (black)18.8%
Color previews
#bacf06 text on a black background
contrast 12.02:1
Card sample
#bacf06 text on a white background
contrast 1.75:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bacf06;
Background color
Panel with #bacf06 background
background-color: #bacf06;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bacf06;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 207, 6, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 207, 6, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bacf06; background: linear-gradient(135deg, #bacf06, #34CF06);