#baec21
a balanced, electric green · cool · closest name: yellow
RGB
186, 236, 33
HSL
75°, 84%, 53%
CMYK
21, 0, 86, 8
Luminance
0.7054
Every format
| HEX | #baec21 |
| RGB | rgb(186, 236, 33) |
| HSL | hsl(75, 84%, 53%) |
| CMYK | cmyk(21%, 0%, 86%, 8%) |
| LAB | lab(87.3 -40.1 81.1) |
| LCH | lch(87.3 90.5 116.3) |
| OKLCH | oklch(0.877 0.211 124.0) |
Copy-ready code
/* CSS */
color: #baec21;
background-color: #baec21;
/* Tailwind (arbitrary) */
class="text-[#baec21] bg-[#baec21]"
/* SCSS */
$brand: #baec21;
/* SwiftUI */
Color(red: 0.729, green: 0.925, blue: 0.129)
/* Android */
Color.parseColor("#baec21")Accessibility — WCAG contrast
Aa
#baec21 on white: 1.39:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#baec21 on black: 15.11:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green92.5%
Blue12.9%
CMYK percentages
Cyan21.2%
Magenta0.0%
Yellow86.0%
Key (black)7.5%
Color previews
#baec21 text on a black background
contrast 15.11:1
Card sample
#baec21 text on a white background
contrast 1.39:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #baec21;
Background color
Panel with #baec21 background
background-color: #baec21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #baec21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 236, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 236, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baec21; background: linear-gradient(135deg, #baec21, #32EC21);