#afdc13
a balanced, electric green · cool · closest name: yellow
RGB
175, 220, 19
HSL
73°, 84%, 47%
CMYK
21, 0, 91, 14
Luminance
0.6035
Every format
| HEX | #afdc13 |
| RGB | rgb(175, 220, 19) |
| HSL | hsl(73, 84%, 47%) |
| CMYK | cmyk(21%, 0%, 91%, 14%) |
| LAB | lab(82.0 -37.5 78.8) |
| LCH | lch(82.0 87.3 115.5) |
| OKLCH | oklch(0.832 0.202 123.4) |
Copy-ready code
/* CSS */
color: #afdc13;
background-color: #afdc13;
/* Tailwind (arbitrary) */
class="text-[#afdc13] bg-[#afdc13]"
/* SCSS */
$brand: #afdc13;
/* SwiftUI */
Color(red: 0.686, green: 0.863, blue: 0.075)
/* Android */
Color.parseColor("#afdc13")Accessibility — WCAG contrast
Aa
#afdc13 on white: 1.61:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afdc13 on black: 13.07:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green86.3%
Blue7.5%
CMYK percentages
Cyan20.5%
Magenta0.0%
Yellow91.4%
Key (black)13.7%
Color previews
#afdc13 text on a black background
contrast 13.07:1
Card sample
#afdc13 text on a white background
contrast 1.61:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afdc13;
Background color
Panel with #afdc13 background
background-color: #afdc13;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afdc13;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 220, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 220, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afdc13; background: linear-gradient(135deg, #afdc13, #29DC13);