#acf921
a balanced, electric green · cool · closest name: yellow
RGB
172, 249, 33
HSL
81°, 95%, 55%
CMYK
31, 0, 87, 2
Luminance
0.7663
Every format
| HEX | #acf921 |
| RGB | rgb(172, 249, 33) |
| HSL | hsl(81, 95%, 55%) |
| CMYK | cmyk(31%, 0%, 87%, 2%) |
| LAB | lab(90.2 -50.8 83.2) |
| LCH | lch(90.2 97.5 121.4) |
| OKLCH | oklch(0.898 0.232 129.1) |
Copy-ready code
/* CSS */
color: #acf921;
background-color: #acf921;
/* Tailwind (arbitrary) */
class="text-[#acf921] bg-[#acf921]"
/* SCSS */
$brand: #acf921;
/* SwiftUI */
Color(red: 0.675, green: 0.976, blue: 0.129)
/* Android */
Color.parseColor("#acf921")Accessibility — WCAG contrast
Aa
#acf921 on white: 1.29:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#acf921 on black: 16.33:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green97.6%
Blue12.9%
CMYK percentages
Cyan30.9%
Magenta0.0%
Yellow86.7%
Key (black)2.4%
Color previews
#acf921 text on a black background
contrast 16.33:1
Card sample
#acf921 text on a white background
contrast 1.29:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #acf921;
Background color
Panel with #acf921 background
background-color: #acf921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #acf921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 249, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 249, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #acf921; background: linear-gradient(135deg, #acf921, #21F926);