#a4cf21
a balanced, vivid green · cool · closest name: yellow
RGB
164, 207, 33
HSL
75°, 73%, 47%
CMYK
21, 0, 84, 19
Luminance
0.5263
Every format
| HEX | #a4cf21 |
| RGB | rgb(164, 207, 33) |
| HSL | hsl(75, 73%, 47%) |
| CMYK | cmyk(21%, 0%, 84%, 19%) |
| LAB | lab(77.7 -35.7 72.5) |
| LCH | lch(77.7 80.8 116.2) |
| OKLCH | oklch(0.795 0.189 123.8) |
Copy-ready code
/* CSS */
color: #a4cf21;
background-color: #a4cf21;
/* Tailwind (arbitrary) */
class="text-[#a4cf21] bg-[#a4cf21]"
/* SCSS */
$brand: #a4cf21;
/* SwiftUI */
Color(red: 0.643, green: 0.812, blue: 0.129)
/* Android */
Color.parseColor("#a4cf21")Accessibility — WCAG contrast
Aa
#a4cf21 on white: 1.82:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a4cf21 on black: 11.53:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red64.3%
Green81.2%
Blue12.9%
CMYK percentages
Cyan20.8%
Magenta0.0%
Yellow84.1%
Key (black)18.8%
Color previews
#a4cf21 text on a black background
contrast 11.53:1
Card sample
#a4cf21 text on a white background
contrast 1.82:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a4cf21;
Background color
Panel with #a4cf21 background
background-color: #a4cf21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a4cf21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(164, 207, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(164, 207, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a4cf21; background: linear-gradient(135deg, #a4cf21, #30CF21);