#afd00c
a dark, electric green · cool · closest name: yellow
RGB
175, 208, 12
HSL
70°, 89%, 43%
CMYK
16, 0, 94, 18
Luminance
0.5425
Every format
| HEX | #afd00c |
| RGB | rgb(175, 208, 12) |
| HSL | hsl(70, 89%, 43%) |
| CMYK | cmyk(16%, 0%, 94%, 18%) |
| LAB | lab(78.6 -32.2 77.0) |
| LCH | lch(78.6 83.4 112.7) |
| OKLCH | oklch(0.805 0.190 120.6) |
Copy-ready code
/* CSS */
color: #afd00c;
background-color: #afd00c;
/* Tailwind (arbitrary) */
class="text-[#afd00c] bg-[#afd00c]"
/* SCSS */
$brand: #afd00c;
/* SwiftUI */
Color(red: 0.686, green: 0.816, blue: 0.047)
/* Android */
Color.parseColor("#afd00c")Accessibility — WCAG contrast
Aa
#afd00c on white: 1.77:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afd00c on black: 11.85:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green81.6%
Blue4.7%
CMYK percentages
Cyan15.9%
Magenta0.0%
Yellow94.2%
Key (black)18.4%
Color previews
#afd00c text on a black background
contrast 11.85:1
Card sample
#afd00c text on a white background
contrast 1.77:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afd00c;
Background color
Panel with #afd00c background
background-color: #afd00c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afd00c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 208, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 208, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afd00c; background: linear-gradient(135deg, #afd00c, #2CD00C);