#afcc65
a balanced, vivid green · cool · closest name: khaki
RGB
175, 204, 101
HSL
77°, 50%, 60%
CMYK
14, 0, 51, 20
Luminance
0.5324
Every format
| HEX | #afcc65 |
| RGB | rgb(175, 204, 101) |
| HSL | hsl(77, 50%, 60%) |
| CMYK | cmyk(14%, 0%, 51%, 20%) |
| LAB | lab(78.0 -25.6 47.7) |
| LCH | lch(78.0 54.1 118.2) |
| OKLCH | oklch(0.802 0.134 122.5) |
Copy-ready code
/* CSS */
color: #afcc65;
background-color: #afcc65;
/* Tailwind (arbitrary) */
class="text-[#afcc65] bg-[#afcc65]"
/* SCSS */
$brand: #afcc65;
/* SwiftUI */
Color(red: 0.686, green: 0.800, blue: 0.396)
/* Android */
Color.parseColor("#afcc65")Accessibility — WCAG contrast
Aa
#afcc65 on white: 1.80:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afcc65 on black: 11.65:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green80.0%
Blue39.6%
CMYK percentages
Cyan14.2%
Magenta0.0%
Yellow50.5%
Key (black)20.0%
Color previews
#afcc65 text on a black background
contrast 11.65:1
Card sample
#afcc65 text on a white background
contrast 1.80:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afcc65;
Background color
Panel with #afcc65 background
background-color: #afcc65;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afcc65;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 204, 101, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 204, 101, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afcc65; background: linear-gradient(135deg, #afcc65, #6ACC65);