#afef2d
a balanced, electric green · cool · closest name: yellow
RGB
175, 239, 45
HSL
80°, 86%, 56%
CMYK
27, 0, 81, 6
Luminance
0.7104
Every format
| HEX | #afef2d |
| RGB | rgb(175, 239, 45) |
| HSL | hsl(80, 86%, 56%) |
| CMYK | cmyk(27%, 0%, 81%, 6%) |
| LAB | lab(87.5 -45.2 78.5) |
| LCH | lch(87.5 90.5 119.9) |
| OKLCH | oklch(0.877 0.215 127.3) |
Copy-ready code
/* CSS */
color: #afef2d;
background-color: #afef2d;
/* Tailwind (arbitrary) */
class="text-[#afef2d] bg-[#afef2d]"
/* SCSS */
$brand: #afef2d;
/* SwiftUI */
Color(red: 0.686, green: 0.937, blue: 0.176)
/* Android */
Color.parseColor("#afef2d")Accessibility — WCAG contrast
Aa
#afef2d on white: 1.38:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afef2d on black: 15.21:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green93.7%
Blue17.6%
CMYK percentages
Cyan26.8%
Magenta0.0%
Yellow81.2%
Key (black)6.3%
Color previews
#afef2d text on a black background
contrast 15.21:1
Card sample
#afef2d text on a white background
contrast 1.38:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afef2d;
Background color
Panel with #afef2d background
background-color: #afef2d;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afef2d;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 239, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 239, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afef2d; background: linear-gradient(135deg, #afef2d, #2EEF2D);