#afec20
a balanced, electric green · cool · closest name: yellow
RGB
175, 236, 32
HSL
78°, 84%, 53%
CMYK
26, 0, 86, 8
Luminance
0.6921
Every format
| HEX | #afec20 |
| RGB | rgb(175, 236, 32) |
| HSL | hsl(78, 84%, 53%) |
| CMYK | cmyk(26%, 0%, 86%, 8%) |
| LAB | lab(86.6 -44.3 80.5) |
| LCH | lch(86.6 91.9 118.8) |
| OKLCH | oklch(0.870 0.216 126.6) |
Copy-ready code
/* CSS */
color: #afec20;
background-color: #afec20;
/* Tailwind (arbitrary) */
class="text-[#afec20] bg-[#afec20]"
/* SCSS */
$brand: #afec20;
/* SwiftUI */
Color(red: 0.686, green: 0.925, blue: 0.125)
/* Android */
Color.parseColor("#afec20")Accessibility — WCAG contrast
Aa
#afec20 on white: 1.41:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afec20 on black: 14.84:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green92.5%
Blue12.5%
CMYK percentages
Cyan25.8%
Magenta0.0%
Yellow86.4%
Key (black)7.5%
Color previews
#afec20 text on a black background
contrast 14.84:1
Card sample
#afec20 text on a white background
contrast 1.41:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afec20;
Background color
Panel with #afec20 background
background-color: #afec20;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afec20;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 236, 32, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 236, 32, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afec20; background: linear-gradient(135deg, #afec20, #27EC20);