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