#bafc49
a balanced, electric green · cool · closest name: yellow
RGB
186, 252, 73
HSL
82°, 97%, 64%
CMYK
26, 0, 71, 1
Luminance
0.8054
Every format
| HEX | #bafc49 |
| RGB | rgb(186, 252, 73) |
| HSL | hsl(82, 97%, 64%) |
| CMYK | cmyk(26%, 0%, 71%, 1%) |
| LAB | lab(91.9 -45.4 74.5) |
| LCH | lch(91.9 87.3 121.3) |
| OKLCH | oklch(0.915 0.211 127.9) |
Copy-ready code
/* CSS */
color: #bafc49;
background-color: #bafc49;
/* Tailwind (arbitrary) */
class="text-[#bafc49] bg-[#bafc49]"
/* SCSS */
$brand: #bafc49;
/* SwiftUI */
Color(red: 0.729, green: 0.988, blue: 0.286)
/* Android */
Color.parseColor("#bafc49")Accessibility — WCAG contrast
Aa
#bafc49 on white: 1.23:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bafc49 on black: 17.11:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green98.8%
Blue28.6%
CMYK percentages
Cyan26.2%
Magenta0.0%
Yellow71.0%
Key (black)1.2%
Color previews
#bafc49 text on a black background
contrast 17.11:1
Card sample
#bafc49 text on a white background
contrast 1.23:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bafc49;
Background color
Panel with #bafc49 background
background-color: #bafc49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bafc49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 252, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 252, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bafc49; background: linear-gradient(135deg, #bafc49, #49FC4F);