#afda34
a balanced, vivid green · cool · closest name: yellow
RGB
175, 218, 52
HSL
76°, 69%, 53%
CMYK
20, 0, 76, 15
Luminance
0.5950
Every format
| HEX | #afda34 |
| RGB | rgb(175, 218, 52) |
| HSL | hsl(76, 69%, 53%) |
| CMYK | cmyk(20%, 0%, 76%, 15%) |
| LAB | lab(81.6 -35.6 71.2) |
| LCH | lch(81.6 79.6 116.6) |
| OKLCH | oklch(0.829 0.188 123.6) |
Copy-ready code
/* CSS */
color: #afda34;
background-color: #afda34;
/* Tailwind (arbitrary) */
class="text-[#afda34] bg-[#afda34]"
/* SCSS */
$brand: #afda34;
/* SwiftUI */
Color(red: 0.686, green: 0.855, blue: 0.204)
/* Android */
Color.parseColor("#afda34")Accessibility — WCAG contrast
Aa
#afda34 on white: 1.63:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afda34 on black: 12.90:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green85.5%
Blue20.4%
CMYK percentages
Cyan19.7%
Magenta0.0%
Yellow76.1%
Key (black)14.5%
Color previews
#afda34 text on a black background
contrast 12.90:1
Card sample
#afda34 text on a white background
contrast 1.63:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afda34;
Background color
Panel with #afda34 background
background-color: #afda34;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afda34;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 218, 52, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 218, 52, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afda34; background: linear-gradient(135deg, #afda34, #40DA34);