#aef151
a balanced, electric green · cool · closest name: yellow
RGB
174, 241, 81
HSL
85°, 85%, 63%
CMYK
28, 0, 66, 6
Luminance
0.7250
Every format
| HEX | #aef151 |
| RGB | rgb(174, 241, 81) |
| HSL | hsl(85, 85%, 63%) |
| CMYK | cmyk(28%, 0%, 66%, 6%) |
| LAB | lab(88.2 -44.5 67.7) |
| LCH | lch(88.2 81.0 123.3) |
| OKLCH | oklch(0.883 0.199 129.4) |
Copy-ready code
/* CSS */
color: #aef151;
background-color: #aef151;
/* Tailwind (arbitrary) */
class="text-[#aef151] bg-[#aef151]"
/* SCSS */
$brand: #aef151;
/* SwiftUI */
Color(red: 0.682, green: 0.945, blue: 0.318)
/* Android */
Color.parseColor("#aef151")Accessibility — WCAG contrast
Aa
#aef151 on white: 1.35:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#aef151 on black: 15.50:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.2%
Green94.5%
Blue31.8%
CMYK percentages
Cyan27.8%
Magenta0.0%
Yellow66.4%
Key (black)5.5%
Color previews
#aef151 text on a black background
contrast 15.50:1
Card sample
#aef151 text on a white background
contrast 1.35:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #aef151;
Background color
Panel with #aef151 background
background-color: #aef151;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #aef151;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(174, 241, 81, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(174, 241, 81, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aef151; background: linear-gradient(135deg, #aef151, #51F15E);