#baff2b
a balanced, electric green · cool · closest name: yellow
RGB
186, 255, 43
HSL
80°, 100%, 58%
CMYK
27, 0, 83, 0
Luminance
0.8213
Every format
| HEX | #baff2b |
| RGB | rgb(186, 255, 43) |
| HSL | hsl(80, 100%, 58%) |
| CMYK | cmyk(27%, 0%, 83%, 0%) |
| LAB | lab(92.6 -48.0 83.6) |
| LCH | lch(92.6 96.4 119.8) |
| OKLCH | oklch(0.920 0.229 127.4) |
Copy-ready code
/* CSS */
color: #baff2b;
background-color: #baff2b;
/* Tailwind (arbitrary) */
class="text-[#baff2b] bg-[#baff2b]"
/* SCSS */
$brand: #baff2b;
/* SwiftUI */
Color(red: 0.729, green: 1.000, blue: 0.169)
/* Android */
Color.parseColor("#baff2b")Accessibility — WCAG contrast
Aa
#baff2b on white: 1.21:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#baff2b on black: 17.43:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green100.0%
Blue16.9%
CMYK percentages
Cyan27.1%
Magenta0.0%
Yellow83.1%
Key (black)0.0%
Color previews
#baff2b text on a black background
contrast 17.43:1
Card sample
#baff2b text on a white background
contrast 1.21:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #baff2b;
Background color
Panel with #baff2b background
background-color: #baff2b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #baff2b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 255, 43, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 255, 43, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baff2b; background: linear-gradient(135deg, #baff2b, #2DFF2B);