#afdf30
a balanced, vivid green · cool · closest name: yellow
RGB
175, 223, 48
HSL
77°, 73%, 53%
CMYK
22, 0, 79, 13
Luminance
0.6210
Every format
| HEX | #afdf30 |
| RGB | rgb(175, 223, 48) |
| HSL | hsl(77, 73%, 53%) |
| CMYK | cmyk(22%, 0%, 79%, 13%) |
| LAB | lab(83.0 -38.0 73.6) |
| LCH | lch(83.0 82.9 117.3) |
| OKLCH | oklch(0.840 0.196 124.5) |
Copy-ready code
/* CSS */
color: #afdf30;
background-color: #afdf30;
/* Tailwind (arbitrary) */
class="text-[#afdf30] bg-[#afdf30]"
/* SCSS */
$brand: #afdf30;
/* SwiftUI */
Color(red: 0.686, green: 0.875, blue: 0.188)
/* Android */
Color.parseColor("#afdf30")Accessibility — WCAG contrast
Aa
#afdf30 on white: 1.56:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afdf30 on black: 13.42:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green87.5%
Blue18.8%
CMYK percentages
Cyan21.5%
Magenta0.0%
Yellow78.5%
Key (black)12.5%
Color previews
#afdf30 text on a black background
contrast 13.42:1
Card sample
#afdf30 text on a white background
contrast 1.56:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afdf30;
Background color
Panel with #afdf30 background
background-color: #afdf30;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afdf30;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 223, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 223, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afdf30; background: linear-gradient(135deg, #afdf30, #3ADF30);