#afcc76
a balanced, vivid green · cool · closest name: khaki
RGB
175, 204, 118
HSL
80°, 46%, 63%
CMYK
14, 0, 42, 20
Luminance
0.5361
Every format
| HEX | #afcc76 |
| RGB | rgb(175, 204, 118) |
| HSL | hsl(80, 46%, 63%) |
| CMYK | cmyk(14%, 0%, 42%, 20%) |
| LAB | lab(78.2 -23.7 39.6) |
| LCH | lch(78.2 46.2 120.9) |
| OKLCH | oklch(0.804 0.117 124.2) |
Copy-ready code
/* CSS */
color: #afcc76;
background-color: #afcc76;
/* Tailwind (arbitrary) */
class="text-[#afcc76] bg-[#afcc76]"
/* SCSS */
$brand: #afcc76;
/* SwiftUI */
Color(red: 0.686, green: 0.800, blue: 0.463)
/* Android */
Color.parseColor("#afcc76")Accessibility — WCAG contrast
Aa
#afcc76 on white: 1.79:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afcc76 on black: 11.72:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green80.0%
Blue46.3%
CMYK percentages
Cyan14.2%
Magenta0.0%
Yellow42.2%
Key (black)20.0%
Color previews
#afcc76 text on a black background
contrast 11.72:1
Card sample
#afcc76 text on a white background
contrast 1.79:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afcc76;
Background color
Panel with #afcc76 background
background-color: #afcc76;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afcc76;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 204, 118, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 204, 118, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afcc76; background: linear-gradient(135deg, #afcc76, #76CC76);