#a2cf07
a dark, electric green · cool · closest name: yellow
RGB
162, 207, 7
HSL
74°, 94%, 42%
CMYK
22, 0, 97, 19
Luminance
0.5232
Every format
| HEX | #a2cf07 |
| RGB | rgb(162, 207, 7) |
| HSL | hsl(74, 94%, 42%) |
| CMYK | cmyk(22%, 0%, 97%, 19%) |
| LAB | lab(77.5 -37.0 76.2) |
| LCH | lch(77.5 84.7 115.9) |
| OKLCH | oklch(0.793 0.196 124.0) |
Copy-ready code
/* CSS */
color: #a2cf07;
background-color: #a2cf07;
/* Tailwind (arbitrary) */
class="text-[#a2cf07] bg-[#a2cf07]"
/* SCSS */
$brand: #a2cf07;
/* SwiftUI */
Color(red: 0.635, green: 0.812, blue: 0.027)
/* Android */
Color.parseColor("#a2cf07")Accessibility — WCAG contrast
Aa
#a2cf07 on white: 1.83:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a2cf07 on black: 11.46:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red63.5%
Green81.2%
Blue2.7%
CMYK percentages
Cyan21.7%
Magenta0.0%
Yellow96.6%
Key (black)18.8%
Color previews
#a2cf07 text on a black background
contrast 11.46:1
Card sample
#a2cf07 text on a white background
contrast 1.83:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a2cf07;
Background color
Panel with #a2cf07 background
background-color: #a2cf07;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a2cf07;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(162, 207, 7, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(162, 207, 7, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a2cf07; background: linear-gradient(135deg, #a2cf07, #1DCF07);