#afef1d
a balanced, electric green · cool · closest name: yellow
RGB
175, 239, 29
HSL
78°, 87%, 53%
CMYK
27, 0, 88, 6
Luminance
0.7094
Every format
| HEX | #afef1d |
| RGB | rgb(175, 239, 29) |
| HSL | hsl(78, 87%, 53%) |
| CMYK | cmyk(27%, 0%, 88%, 6%) |
| LAB | lab(87.5 -45.6 81.7) |
| LCH | lch(87.5 93.6 119.2) |
| OKLCH | oklch(0.876 0.220 127.0) |
Copy-ready code
/* CSS */
color: #afef1d;
background-color: #afef1d;
/* Tailwind (arbitrary) */
class="text-[#afef1d] bg-[#afef1d]"
/* SCSS */
$brand: #afef1d;
/* SwiftUI */
Color(red: 0.686, green: 0.937, blue: 0.114)
/* Android */
Color.parseColor("#afef1d")Accessibility — WCAG contrast
Aa
#afef1d on white: 1.38:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afef1d on black: 15.19:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green93.7%
Blue11.4%
CMYK percentages
Cyan26.8%
Magenta0.0%
Yellow87.9%
Key (black)6.3%
Color previews
#afef1d text on a black background
contrast 15.19:1
Card sample
#afef1d text on a white background
contrast 1.38:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afef1d;
Background color
Panel with #afef1d background
background-color: #afef1d;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afef1d;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 239, 29, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 239, 29, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afef1d; background: linear-gradient(135deg, #afef1d, #23EF1D);