#bafd33
a balanced, electric green · cool · closest name: yellow
RGB
186, 253, 51
HSL
80°, 98%, 60%
CMYK
27, 0, 80, 1
Luminance
0.8093
Every format
| HEX | #bafd33 |
| RGB | rgb(186, 253, 51) |
| HSL | hsl(80, 98%, 60%) |
| CMYK | cmyk(27%, 0%, 80%, 1%) |
| LAB | lab(92.1 -46.9 81.3) |
| LCH | lch(92.1 93.8 120.0) |
| OKLCH | oklch(0.916 0.224 127.3) |
Copy-ready code
/* CSS */
color: #bafd33;
background-color: #bafd33;
/* Tailwind (arbitrary) */
class="text-[#bafd33] bg-[#bafd33]"
/* SCSS */
$brand: #bafd33;
/* SwiftUI */
Color(red: 0.729, green: 0.992, blue: 0.200)
/* Android */
Color.parseColor("#bafd33")Accessibility — WCAG contrast
Aa
#bafd33 on white: 1.22:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bafd33 on black: 17.19:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green99.2%
Blue20.0%
CMYK percentages
Cyan26.5%
Magenta0.0%
Yellow79.8%
Key (black)0.8%
Color previews
#bafd33 text on a black background
contrast 17.19:1
Card sample
#bafd33 text on a white background
contrast 1.22:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bafd33;
Background color
Panel with #bafd33 background
background-color: #bafd33;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bafd33;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 253, 51, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 253, 51, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bafd33; background: linear-gradient(135deg, #bafd33, #33FD33);