#afdf84
a light, vivid green · cool · closest name: khaki
RGB
175, 223, 132
HSL
92°, 59%, 70%
CMYK
22, 0, 41, 13
Luminance
0.6356
Every format
| HEX | #afdf84 |
| RGB | rgb(175, 223, 132) |
| HSL | hsl(92, 59%, 70%) |
| CMYK | cmyk(22%, 0%, 41%, 13%) |
| LAB | lab(83.7 -31.1 39.6) |
| LCH | lch(83.7 50.3 128.1) |
| OKLCH | oklch(0.849 0.129 131.3) |
Copy-ready code
/* CSS */
color: #afdf84;
background-color: #afdf84;
/* Tailwind (arbitrary) */
class="text-[#afdf84] bg-[#afdf84]"
/* SCSS */
$brand: #afdf84;
/* SwiftUI */
Color(red: 0.686, green: 0.875, blue: 0.518)
/* Android */
Color.parseColor("#afdf84")Accessibility — WCAG contrast
Aa
#afdf84 on white: 1.53:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afdf84 on black: 13.71:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green87.5%
Blue51.8%
CMYK percentages
Cyan21.5%
Magenta0.0%
Yellow40.8%
Key (black)12.5%
Color previews
#afdf84 text on a black background
contrast 13.71:1
Card sample
#afdf84 text on a white background
contrast 1.53:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afdf84;
Background color
Panel with #afdf84 background
background-color: #afdf84;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afdf84;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 223, 132, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 223, 132, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afdf84; background: linear-gradient(135deg, #afdf84, #84DF96);