#aefa21
a balanced, electric green · cool · closest name: yellow
RGB
174, 250, 33
HSL
81°, 96%, 56%
CMYK
30, 0, 87, 2
Luminance
0.7748
Every format
| HEX | #aefa21 |
| RGB | rgb(174, 250, 33) |
| HSL | hsl(81, 96%, 56%) |
| CMYK | cmyk(30%, 0%, 87%, 2%) |
| LAB | lab(90.5 -50.5 83.6) |
| LCH | lch(90.5 97.7 121.1) |
| OKLCH | oklch(0.901 0.232 128.9) |
Copy-ready code
/* CSS */
color: #aefa21;
background-color: #aefa21;
/* Tailwind (arbitrary) */
class="text-[#aefa21] bg-[#aefa21]"
/* SCSS */
$brand: #aefa21;
/* SwiftUI */
Color(red: 0.682, green: 0.980, blue: 0.129)
/* Android */
Color.parseColor("#aefa21")Accessibility — WCAG contrast
Aa
#aefa21 on white: 1.27:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#aefa21 on black: 16.50:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.2%
Green98.0%
Blue12.9%
CMYK percentages
Cyan30.4%
Magenta0.0%
Yellow86.8%
Key (black)2.0%
Color previews
#aefa21 text on a black background
contrast 16.50:1
Card sample
#aefa21 text on a white background
contrast 1.27:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #aefa21;
Background color
Panel with #aefa21 background
background-color: #aefa21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #aefa21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(174, 250, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(174, 250, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aefa21; background: linear-gradient(135deg, #aefa21, #21FA25);