#ace402
a balanced, electric green · cool · closest name: yellow
RGB
172, 228, 2
HSL
75°, 98%, 45%
CMYK
25, 0, 99, 11
Luminance
0.6426
Every format
| HEX | #ace402 |
| RGB | rgb(172, 228, 2) |
| HSL | hsl(75, 98%, 45%) |
| CMYK | cmyk(25%, 0%, 99%, 11%) |
| LAB | lab(84.1 -42.4 82.0) |
| LCH | lch(84.1 92.4 117.4) |
| OKLCH | oklch(0.849 0.214 125.5) |
Copy-ready code
/* CSS */
color: #ace402;
background-color: #ace402;
/* Tailwind (arbitrary) */
class="text-[#ace402] bg-[#ace402]"
/* SCSS */
$brand: #ace402;
/* SwiftUI */
Color(red: 0.675, green: 0.894, blue: 0.008)
/* Android */
Color.parseColor("#ace402")Accessibility — WCAG contrast
Aa
#ace402 on white: 1.52:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ace402 on black: 13.85:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green89.4%
Blue0.8%
CMYK percentages
Cyan24.6%
Magenta0.0%
Yellow99.1%
Key (black)10.6%
Color previews
#ace402 text on a black background
contrast 13.85:1
Card sample
#ace402 text on a white background
contrast 1.52:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ace402;
Background color
Panel with #ace402 background
background-color: #ace402;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ace402;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 228, 2, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 228, 2, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ace402; background: linear-gradient(135deg, #ace402, #15E402);