#bafd14
a balanced, electric green · cool · closest name: yellow
RGB
186, 253, 20
HSL
77°, 98%, 54%
CMYK
27, 0, 92, 1
Luminance
0.8074
Every format
| HEX | #bafd14 |
| RGB | rgb(186, 253, 20) |
| HSL | hsl(77, 98%, 54%) |
| CMYK | cmyk(27%, 0%, 92%, 1%) |
| LAB | lab(92.0 -47.7 87.0) |
| LCH | lch(92.0 99.2 118.7) |
| OKLCH | oklch(0.915 0.232 126.7) |
Copy-ready code
/* CSS */
color: #bafd14;
background-color: #bafd14;
/* Tailwind (arbitrary) */
class="text-[#bafd14] bg-[#bafd14]"
/* SCSS */
$brand: #bafd14;
/* SwiftUI */
Color(red: 0.729, green: 0.992, blue: 0.078)
/* Android */
Color.parseColor("#bafd14")Accessibility — WCAG contrast
Aa
#bafd14 on white: 1.22:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bafd14 on black: 17.15:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green99.2%
Blue7.8%
CMYK percentages
Cyan26.5%
Magenta0.0%
Yellow92.1%
Key (black)0.8%
Color previews
#bafd14 text on a black background
contrast 17.15:1
Card sample
#bafd14 text on a white background
contrast 1.22:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bafd14;
Background color
Panel with #bafd14 background
background-color: #bafd14;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bafd14;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 253, 20, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 253, 20, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bafd14; background: linear-gradient(135deg, #bafd14, #1EFD14);