#afec50
a balanced, electric green · cool · closest name: yellow
RGB
175, 236, 80
HSL
84°, 80%, 62%
CMYK
26, 0, 66, 8
Luminance
0.6968
Every format
| HEX | #afec50 |
| RGB | rgb(175, 236, 80) |
| HSL | hsl(84, 80%, 62%) |
| CMYK | cmyk(26%, 0%, 66%, 8%) |
| LAB | lab(86.8 -42.0 66.6) |
| LCH | lch(86.8 78.8 122.2) |
| OKLCH | oklch(0.872 0.193 128.3) |
Copy-ready code
/* CSS */
color: #afec50;
background-color: #afec50;
/* Tailwind (arbitrary) */
class="text-[#afec50] bg-[#afec50]"
/* SCSS */
$brand: #afec50;
/* SwiftUI */
Color(red: 0.686, green: 0.925, blue: 0.314)
/* Android */
Color.parseColor("#afec50")Accessibility — WCAG contrast
Aa
#afec50 on white: 1.41:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afec50 on black: 14.94:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green92.5%
Blue31.4%
CMYK percentages
Cyan25.8%
Magenta0.0%
Yellow66.1%
Key (black)7.5%
Color previews
#afec50 text on a black background
contrast 14.94:1
Card sample
#afec50 text on a white background
contrast 1.41:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afec50;
Background color
Panel with #afec50 background
background-color: #afec50;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afec50;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 236, 80, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 236, 80, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afec50; background: linear-gradient(135deg, #afec50, #50EC59);