#affc29
a balanced, electric green · cool · closest name: yellow
RGB
175, 252, 41
HSL
82°, 97%, 58%
CMYK
31, 0, 84, 1
Luminance
0.7889
Every format
| HEX | #affc29 |
| RGB | rgb(175, 252, 41) |
| HSL | hsl(82, 97%, 58%) |
| CMYK | cmyk(31%, 0%, 84%, 1%) |
| LAB | lab(91.2 -50.8 82.6) |
| LCH | lch(91.2 96.9 121.6) |
| OKLCH | oklch(0.907 0.231 129.1) |
Copy-ready code
/* CSS */
color: #affc29;
background-color: #affc29;
/* Tailwind (arbitrary) */
class="text-[#affc29] bg-[#affc29]"
/* SCSS */
$brand: #affc29;
/* SwiftUI */
Color(red: 0.686, green: 0.988, blue: 0.161)
/* Android */
Color.parseColor("#affc29")Accessibility — WCAG contrast
Aa
#affc29 on white: 1.25:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#affc29 on black: 16.78:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green98.8%
Blue16.1%
CMYK percentages
Cyan30.6%
Magenta0.0%
Yellow83.7%
Key (black)1.2%
Color previews
#affc29 text on a black background
contrast 16.78:1
Card sample
#affc29 text on a white background
contrast 1.25:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #affc29;
Background color
Panel with #affc29 background
background-color: #affc29;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #affc29;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 252, 41, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 252, 41, 0.45);
Border & gradient
Gradient panel
border: 3px solid #affc29; background: linear-gradient(135deg, #affc29, #29FC30);