#afdf68
a balanced, vivid green · cool · closest name: khaki
RGB
175, 223, 104
HSL
84°, 65%, 64%
CMYK
22, 0, 53, 13
Luminance
0.6289
Every format
| HEX | #afdf68 |
| RGB | rgb(175, 223, 104) |
| HSL | hsl(84, 65%, 64%) |
| CMYK | cmyk(22%, 0%, 53%, 13%) |
| LAB | lab(83.4 -34.2 52.6) |
| LCH | lch(83.4 62.8 123.0) |
| OKLCH | oklch(0.845 0.157 127.7) |
Copy-ready code
/* CSS */
color: #afdf68;
background-color: #afdf68;
/* Tailwind (arbitrary) */
class="text-[#afdf68] bg-[#afdf68]"
/* SCSS */
$brand: #afdf68;
/* SwiftUI */
Color(red: 0.686, green: 0.875, blue: 0.408)
/* Android */
Color.parseColor("#afdf68")Accessibility — WCAG contrast
Aa
#afdf68 on white: 1.55:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afdf68 on black: 13.58:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green87.5%
Blue40.8%
CMYK percentages
Cyan21.5%
Magenta0.0%
Yellow53.4%
Key (black)12.5%
Color previews
#afdf68 text on a black background
contrast 13.58:1
Card sample
#afdf68 text on a white background
contrast 1.55:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afdf68;
Background color
Panel with #afdf68 background
background-color: #afdf68;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afdf68;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 223, 104, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 223, 104, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afdf68; background: linear-gradient(135deg, #afdf68, #68DF70);