#a6ce21
a balanced, vivid green · cool · closest name: yellow
RGB
166, 206, 33
HSL
74°, 72%, 47%
CMYK
19, 0, 84, 19
Luminance
0.5236
Every format
| HEX | #a6ce21 |
| RGB | rgb(166, 206, 33) |
| HSL | hsl(74, 72%, 47%) |
| CMYK | cmyk(19%, 0%, 84%, 19%) |
| LAB | lab(77.5 -34.4 72.4) |
| LCH | lch(77.5 80.1 115.4) |
| OKLCH | oklch(0.794 0.187 123.0) |
Copy-ready code
/* CSS */
color: #a6ce21;
background-color: #a6ce21;
/* Tailwind (arbitrary) */
class="text-[#a6ce21] bg-[#a6ce21]"
/* SCSS */
$brand: #a6ce21;
/* SwiftUI */
Color(red: 0.651, green: 0.808, blue: 0.129)
/* Android */
Color.parseColor("#a6ce21")Accessibility — WCAG contrast
Aa
#a6ce21 on white: 1.83:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a6ce21 on black: 11.47:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red65.1%
Green80.8%
Blue12.9%
CMYK percentages
Cyan19.4%
Magenta0.0%
Yellow84.0%
Key (black)19.2%
Color previews
#a6ce21 text on a black background
contrast 11.47:1
Card sample
#a6ce21 text on a white background
contrast 1.83:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a6ce21;
Background color
Panel with #a6ce21 background
background-color: #a6ce21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a6ce21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(166, 206, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(166, 206, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a6ce21; background: linear-gradient(135deg, #a6ce21, #33CE21);