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