#aaf080
a light, electric green · cool · closest name: khaki
RGB
170, 240, 128
HSL
98°, 79%, 72%
CMYK
29, 0, 47, 6
Luminance
0.7242
Every format
| HEX | #aaf080 |
| RGB | rgb(170, 240, 128) |
| HSL | hsl(98, 79%, 72%) |
| CMYK | cmyk(29%, 0%, 47%, 6%) |
| LAB | lab(88.2 -41.0 47.1) |
| LCH | lch(88.2 62.5 131.1) |
| OKLCH | oklch(0.884 0.160 134.8) |
Copy-ready code
/* CSS */
color: #aaf080;
background-color: #aaf080;
/* Tailwind (arbitrary) */
class="text-[#aaf080] bg-[#aaf080]"
/* SCSS */
$brand: #aaf080;
/* SwiftUI */
Color(red: 0.667, green: 0.941, blue: 0.502)
/* Android */
Color.parseColor("#aaf080")Accessibility — WCAG contrast
Aa
#aaf080 on white: 1.36:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#aaf080 on black: 15.48:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red66.7%
Green94.1%
Blue50.2%
CMYK percentages
Cyan29.2%
Magenta0.0%
Yellow46.7%
Key (black)5.9%
Color previews
#aaf080 text on a black background
contrast 15.48:1
Card sample
#aaf080 text on a white background
contrast 1.36:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #aaf080;
Background color
Panel with #aaf080 background
background-color: #aaf080;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #aaf080;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(170, 240, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(170, 240, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aaf080; background: linear-gradient(135deg, #aaf080, #80F0A1);