#afec49
a balanced, electric green · cool · closest name: yellow
RGB
175, 236, 73
HSL
83°, 81%, 61%
CMYK
26, 0, 69, 8
Luminance
0.6959
Every format
| HEX | #afec49 |
| RGB | rgb(175, 236, 73) |
| HSL | hsl(83, 81%, 61%) |
| CMYK | cmyk(26%, 0%, 69%, 8%) |
| LAB | lab(86.8 -42.5 69.2) |
| LCH | lch(86.8 81.2 121.6) |
| OKLCH | oklch(0.872 0.198 127.9) |
Copy-ready code
/* CSS */
color: #afec49;
background-color: #afec49;
/* Tailwind (arbitrary) */
class="text-[#afec49] bg-[#afec49]"
/* SCSS */
$brand: #afec49;
/* SwiftUI */
Color(red: 0.686, green: 0.925, blue: 0.286)
/* Android */
Color.parseColor("#afec49")Accessibility — WCAG contrast
Aa
#afec49 on white: 1.41:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afec49 on black: 14.92:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green92.5%
Blue28.6%
CMYK percentages
Cyan25.8%
Magenta0.0%
Yellow69.1%
Key (black)7.5%
Color previews
#afec49 text on a black background
contrast 14.92:1
Card sample
#afec49 text on a white background
contrast 1.41:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afec49;
Background color
Panel with #afec49 background
background-color: #afec49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afec49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 236, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 236, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afec49; background: linear-gradient(135deg, #afec49, #49EC50);