#afdf80
a light, vivid green · cool · closest name: khaki
RGB
175, 223, 128
HSL
90°, 60%, 69%
CMYK
22, 0, 43, 13
Luminance
0.6345
Every format
| HEX | #afdf80 |
| RGB | rgb(175, 223, 128) |
| HSL | hsl(90, 60%, 69%) |
| CMYK | cmyk(22%, 0%, 43%, 13%) |
| LAB | lab(83.7 -31.6 41.5) |
| LCH | lch(83.7 52.2 127.2) |
| OKLCH | oklch(0.848 0.133 130.7) |
Copy-ready code
/* CSS */
color: #afdf80;
background-color: #afdf80;
/* Tailwind (arbitrary) */
class="text-[#afdf80] bg-[#afdf80]"
/* SCSS */
$brand: #afdf80;
/* SwiftUI */
Color(red: 0.686, green: 0.875, blue: 0.502)
/* Android */
Color.parseColor("#afdf80")Accessibility — WCAG contrast
Aa
#afdf80 on white: 1.53:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afdf80 on black: 13.69:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green87.5%
Blue50.2%
CMYK percentages
Cyan21.5%
Magenta0.0%
Yellow42.6%
Key (black)12.5%
Color previews
#afdf80 text on a black background
contrast 13.69:1
Card sample
#afdf80 text on a white background
contrast 1.53:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afdf80;
Background color
Panel with #afdf80 background
background-color: #afdf80;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afdf80;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 223, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 223, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afdf80; background: linear-gradient(135deg, #afdf80, #80DF90);