#affc80
a light, electric green · cool · closest name: khaki
RGB
175, 252, 128
HSL
97°, 95%, 75%
CMYK
31, 0, 49, 1
Luminance
0.8029
Every format
| HEX | #affc80 |
| RGB | rgb(175, 252, 128) |
| HSL | hsl(97, 95%, 75%) |
| CMYK | cmyk(31%, 0%, 49%, 1%) |
| LAB | lab(91.8 -44.6 51.6) |
| LCH | lch(91.8 68.2 130.8) |
| OKLCH | oklch(0.914 0.174 134.8) |
Copy-ready code
/* CSS */
color: #affc80;
background-color: #affc80;
/* Tailwind (arbitrary) */
class="text-[#affc80] bg-[#affc80]"
/* SCSS */
$brand: #affc80;
/* SwiftUI */
Color(red: 0.686, green: 0.988, blue: 0.502)
/* Android */
Color.parseColor("#affc80")Accessibility — WCAG contrast
Aa
#affc80 on white: 1.23:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#affc80 on black: 17.06:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green98.8%
Blue50.2%
CMYK percentages
Cyan30.6%
Magenta0.0%
Yellow49.2%
Key (black)1.2%
Color previews
#affc80 text on a black background
contrast 17.06:1
Card sample
#affc80 text on a white background
contrast 1.23:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #affc80;
Background color
Panel with #affc80 background
background-color: #affc80;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #affc80;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 252, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 252, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #affc80; background: linear-gradient(135deg, #affc80, #80FCA4);