#afdc71
a light, vivid green · cool · closest name: khaki
RGB
175, 220, 113
HSL
85°, 61%, 65%
CMYK
21, 0, 49, 14
Luminance
0.6149
Every format
| HEX | #afdc71 |
| RGB | rgb(175, 220, 113) |
| HSL | hsl(85, 61%, 65%) |
| CMYK | cmyk(21%, 0%, 49%, 14%) |
| LAB | lab(82.6 -31.9 47.5) |
| LCH | lch(82.6 57.2 123.9) |
| OKLCH | oklch(0.839 0.144 128.0) |
Copy-ready code
/* CSS */
color: #afdc71;
background-color: #afdc71;
/* Tailwind (arbitrary) */
class="text-[#afdc71] bg-[#afdc71]"
/* SCSS */
$brand: #afdc71;
/* SwiftUI */
Color(red: 0.686, green: 0.863, blue: 0.443)
/* Android */
Color.parseColor("#afdc71")Accessibility — WCAG contrast
Aa
#afdc71 on white: 1.58:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afdc71 on black: 13.30:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green86.3%
Blue44.3%
CMYK percentages
Cyan20.5%
Magenta0.0%
Yellow48.6%
Key (black)13.7%
Color previews
#afdc71 text on a black background
contrast 13.30:1
Card sample
#afdc71 text on a white background
contrast 1.58:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afdc71;
Background color
Panel with #afdc71 background
background-color: #afdc71;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afdc71;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 220, 113, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 220, 113, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afdc71; background: linear-gradient(135deg, #afdc71, #71DC7A);