#afdf64
a balanced, vivid green · cool · closest name: khaki
RGB
175, 223, 100
HSL
83°, 66%, 63%
CMYK
22, 0, 55, 13
Luminance
0.6281
Every format
| HEX | #afdf64 |
| RGB | rgb(175, 223, 100) |
| HSL | hsl(83, 66%, 63%) |
| CMYK | cmyk(22%, 0%, 55%, 13%) |
| LAB | lab(83.3 -34.6 54.4) |
| LCH | lch(83.3 64.5 122.5) |
| OKLCH | oklch(0.845 0.161 127.3) |
Copy-ready code
/* CSS */
color: #afdf64;
background-color: #afdf64;
/* Tailwind (arbitrary) */
class="text-[#afdf64] bg-[#afdf64]"
/* SCSS */
$brand: #afdf64;
/* SwiftUI */
Color(red: 0.686, green: 0.875, blue: 0.392)
/* Android */
Color.parseColor("#afdf64")Accessibility — WCAG contrast
Aa
#afdf64 on white: 1.55:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afdf64 on black: 13.56:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green87.5%
Blue39.2%
CMYK percentages
Cyan21.5%
Magenta0.0%
Yellow55.2%
Key (black)12.5%
Color previews
#afdf64 text on a black background
contrast 13.56:1
Card sample
#afdf64 text on a white background
contrast 1.55:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afdf64;
Background color
Panel with #afdf64 background
background-color: #afdf64;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afdf64;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 223, 100, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 223, 100, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afdf64; background: linear-gradient(135deg, #afdf64, #64DF6B);