#bace0f
a dark, electric yellow · cool · closest name: yellow
RGB
186, 206, 15
HSL
66°, 86%, 43%
CMYK
10, 0, 93, 19
Luminance
0.5462
Every format
| HEX | #bace0f |
| RGB | rgb(186, 206, 15) |
| HSL | hsl(66, 86%, 43%) |
| CMYK | cmyk(10%, 0%, 93%, 19%) |
| LAB | lab(78.8 -26.6 77.1) |
| LCH | lch(78.8 81.6 109.1) |
| OKLCH | oklch(0.808 0.183 116.6) |
Copy-ready code
/* CSS */
color: #bace0f;
background-color: #bace0f;
/* Tailwind (arbitrary) */
class="text-[#bace0f] bg-[#bace0f]"
/* SCSS */
$brand: #bace0f;
/* SwiftUI */
Color(red: 0.729, green: 0.808, blue: 0.059)
/* Android */
Color.parseColor("#bace0f")Accessibility — WCAG contrast
Aa
#bace0f on white: 1.76:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bace0f on black: 11.92:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green80.8%
Blue5.9%
CMYK percentages
Cyan9.7%
Magenta0.0%
Yellow92.7%
Key (black)19.2%
Color previews
#bace0f text on a black background
contrast 11.92:1
Card sample
#bace0f text on a white background
contrast 1.76:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bace0f;
Background color
Panel with #bace0f background
background-color: #bace0f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bace0f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 206, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 206, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bace0f; background: linear-gradient(135deg, #bace0f, #3BCE0F);