#aef308
a balanced, electric green · cool · closest name: yellow
RGB
174, 243, 8
HSL
78°, 94%, 49%
CMYK
28, 0, 97, 5
Luminance
0.7312
Every format
| HEX | #aef308 |
| RGB | rgb(174, 243, 8) |
| HSL | hsl(78, 94%, 49%) |
| CMYK | cmyk(28%, 0%, 97%, 5%) |
| LAB | lab(88.5 -48.0 85.0) |
| LCH | lch(88.5 97.6 119.5) |
| OKLCH | oklch(0.885 0.229 127.6) |
Copy-ready code
/* CSS */
color: #aef308;
background-color: #aef308;
/* Tailwind (arbitrary) */
class="text-[#aef308] bg-[#aef308]"
/* SCSS */
$brand: #aef308;
/* SwiftUI */
Color(red: 0.682, green: 0.953, blue: 0.031)
/* Android */
Color.parseColor("#aef308")Accessibility — WCAG contrast
Aa
#aef308 on white: 1.34:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#aef308 on black: 15.62:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.2%
Green95.3%
Blue3.1%
CMYK percentages
Cyan28.4%
Magenta0.0%
Yellow96.7%
Key (black)4.7%
Color previews
#aef308 text on a black background
contrast 15.62:1
Card sample
#aef308 text on a white background
contrast 1.34:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #aef308;
Background color
Panel with #aef308 background
background-color: #aef308;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #aef308;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(174, 243, 8, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(174, 243, 8, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aef308; background: linear-gradient(135deg, #aef308, #11F308);