#afcc32
a balanced, vivid green · cool · closest name: olivedrab
RGB
175, 204, 50
HSL
71°, 61%, 50%
CMYK
14, 0, 76, 20
Luminance
0.5253
Every format
| HEX | #afcc32 |
| RGB | rgb(175, 204, 50) |
| HSL | hsl(71, 61%, 50%) |
| CMYK | cmyk(14%, 0%, 76%, 20%) |
| LAB | lab(77.6 -29.2 68.1) |
| LCH | lch(77.6 74.1 113.2) |
| OKLCH | oklch(0.797 0.173 120.1) |
Copy-ready code
/* CSS */
color: #afcc32;
background-color: #afcc32;
/* Tailwind (arbitrary) */
class="text-[#afcc32] bg-[#afcc32]"
/* SCSS */
$brand: #afcc32;
/* SwiftUI */
Color(red: 0.686, green: 0.800, blue: 0.196)
/* Android */
Color.parseColor("#afcc32")Accessibility — WCAG contrast
Aa
#afcc32 on white: 1.83:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afcc32 on black: 11.51:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green80.0%
Blue19.6%
CMYK percentages
Cyan14.2%
Magenta0.0%
Yellow75.5%
Key (black)20.0%
Color previews
#afcc32 text on a black background
contrast 11.51:1
Card sample
#afcc32 text on a white background
contrast 1.83:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afcc32;
Background color
Panel with #afcc32 background
background-color: #afcc32;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afcc32;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 204, 50, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 204, 50, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afcc32; background: linear-gradient(135deg, #afcc32, #48CC32);