#afe030
a balanced, vivid green · cool · closest name: yellow
RGB
175, 224, 48
HSL
77°, 74%, 53%
CMYK
22, 0, 79, 12
Luminance
0.6264
Every format
| HEX | #afe030 |
| RGB | rgb(175, 224, 48) |
| HSL | hsl(77, 74%, 53%) |
| CMYK | cmyk(22%, 0%, 79%, 12%) |
| LAB | lab(83.3 -38.5 73.9) |
| LCH | lch(83.3 83.3 117.5) |
| OKLCH | oklch(0.843 0.197 124.7) |
Copy-ready code
/* CSS */
color: #afe030;
background-color: #afe030;
/* Tailwind (arbitrary) */
class="text-[#afe030] bg-[#afe030]"
/* SCSS */
$brand: #afe030;
/* SwiftUI */
Color(red: 0.686, green: 0.878, blue: 0.188)
/* Android */
Color.parseColor("#afe030")Accessibility — WCAG contrast
Aa
#afe030 on white: 1.55:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afe030 on black: 13.53:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green87.8%
Blue18.8%
CMYK percentages
Cyan21.9%
Magenta0.0%
Yellow78.6%
Key (black)12.2%
Color previews
#afe030 text on a black background
contrast 13.53:1
Card sample
#afe030 text on a white background
contrast 1.55:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afe030;
Background color
Panel with #afe030 background
background-color: #afe030;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afe030;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 224, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 224, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afe030; background: linear-gradient(135deg, #afe030, #3AE030);