#bafc3d
a balanced, electric green · cool · closest name: yellow
RGB
186, 252, 61
HSL
81°, 97%, 61%
CMYK
26, 0, 76, 1
Luminance
0.8040
Every format
| HEX | #bafc3d |
| RGB | rgb(186, 252, 61) |
| HSL | hsl(81, 97%, 61%) |
| CMYK | cmyk(26%, 0%, 76%, 1%) |
| LAB | lab(91.9 -46.0 78.3) |
| LCH | lch(91.9 90.8 120.4) |
| OKLCH | oklch(0.914 0.218 127.4) |
Copy-ready code
/* CSS */
color: #bafc3d;
background-color: #bafc3d;
/* Tailwind (arbitrary) */
class="text-[#bafc3d] bg-[#bafc3d]"
/* SCSS */
$brand: #bafc3d;
/* SwiftUI */
Color(red: 0.729, green: 0.988, blue: 0.239)
/* Android */
Color.parseColor("#bafc3d")Accessibility — WCAG contrast
Aa
#bafc3d on white: 1.23:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bafc3d on black: 17.08:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green98.8%
Blue23.9%
CMYK percentages
Cyan26.2%
Magenta0.0%
Yellow75.8%
Key (black)1.2%
Color previews
#bafc3d text on a black background
contrast 17.08:1
Card sample
#bafc3d text on a white background
contrast 1.23:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bafc3d;
Background color
Panel with #bafc3d background
background-color: #bafc3d;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bafc3d;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 252, 61, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 252, 61, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bafc3d; background: linear-gradient(135deg, #bafc3d, #3DFC3F);