#afe950
a balanced, electric green · cool · closest name: yellow
RGB
175, 233, 80
HSL
83°, 78%, 61%
CMYK
25, 0, 66, 9
Luminance
0.6797
Every format
| HEX | #afe950 |
| RGB | rgb(175, 233, 80) |
| HSL | hsl(83, 78%, 61%) |
| CMYK | cmyk(25%, 0%, 66%, 9%) |
| LAB | lab(86.0 -40.7 65.8) |
| LCH | lch(86.0 77.3 121.8) |
| OKLCH | oklch(0.865 0.189 127.8) |
Copy-ready code
/* CSS */
color: #afe950;
background-color: #afe950;
/* Tailwind (arbitrary) */
class="text-[#afe950] bg-[#afe950]"
/* SCSS */
$brand: #afe950;
/* SwiftUI */
Color(red: 0.686, green: 0.914, blue: 0.314)
/* Android */
Color.parseColor("#afe950")Accessibility — WCAG contrast
Aa
#afe950 on white: 1.44:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afe950 on black: 14.59:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green91.4%
Blue31.4%
CMYK percentages
Cyan24.9%
Magenta0.0%
Yellow65.7%
Key (black)8.6%
Color previews
#afe950 text on a black background
contrast 14.59:1
Card sample
#afe950 text on a white background
contrast 1.44:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afe950;
Background color
Panel with #afe950 background
background-color: #afe950;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afe950;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 233, 80, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 233, 80, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afe950; background: linear-gradient(135deg, #afe950, #50E957);