#baf41c
a balanced, electric green · cool · closest name: yellow
RGB
186, 244, 28
HSL
76°, 91%, 53%
CMYK
24, 0, 89, 4
Luminance
0.7522
Every format
| HEX | #baf41c |
| RGB | rgb(186, 244, 28) |
| HSL | hsl(76, 91%, 53%) |
| CMYK | cmyk(24%, 0%, 89%, 4%) |
| LAB | lab(89.5 -43.7 83.8) |
| LCH | lch(89.5 94.5 117.5) |
| OKLCH | oklch(0.895 0.221 125.4) |
Copy-ready code
/* CSS */
color: #baf41c;
background-color: #baf41c;
/* Tailwind (arbitrary) */
class="text-[#baf41c] bg-[#baf41c]"
/* SCSS */
$brand: #baf41c;
/* SwiftUI */
Color(red: 0.729, green: 0.957, blue: 0.110)
/* Android */
Color.parseColor("#baf41c")Accessibility — WCAG contrast
Aa
#baf41c on white: 1.31:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#baf41c on black: 16.04:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green95.7%
Blue11.0%
CMYK percentages
Cyan23.8%
Magenta0.0%
Yellow88.5%
Key (black)4.3%
Color previews
#baf41c text on a black background
contrast 16.04:1
Card sample
#baf41c text on a white background
contrast 1.31:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #baf41c;
Background color
Panel with #baf41c background
background-color: #baf41c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #baf41c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 244, 28, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 244, 28, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baf41c; background: linear-gradient(135deg, #baf41c, #2AF41C);