#a2cf49
a balanced, vivid green · cool · closest name: olivedrab
RGB
162, 207, 73
HSL
80°, 58%, 55%
CMYK
22, 0, 65, 19
Luminance
0.5279
Every format
| HEX | #a2cf49 |
| RGB | rgb(162, 207, 73) |
| HSL | hsl(80, 58%, 55%) |
| CMYK | cmyk(22%, 0%, 65%, 19%) |
| LAB | lab(77.8 -34.4 59.6) |
| LCH | lch(77.8 68.8 120.0) |
| OKLCH | oklch(0.796 0.168 125.9) |
Copy-ready code
/* CSS */
color: #a2cf49;
background-color: #a2cf49;
/* Tailwind (arbitrary) */
class="text-[#a2cf49] bg-[#a2cf49]"
/* SCSS */
$brand: #a2cf49;
/* SwiftUI */
Color(red: 0.635, green: 0.812, blue: 0.286)
/* Android */
Color.parseColor("#a2cf49")Accessibility — WCAG contrast
Aa
#a2cf49 on white: 1.82:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a2cf49 on black: 11.56:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red63.5%
Green81.2%
Blue28.6%
CMYK percentages
Cyan21.7%
Magenta0.0%
Yellow64.7%
Key (black)18.8%
Color previews
#a2cf49 text on a black background
contrast 11.56:1
Card sample
#a2cf49 text on a white background
contrast 1.82:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a2cf49;
Background color
Panel with #a2cf49 background
background-color: #a2cf49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a2cf49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(162, 207, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(162, 207, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a2cf49; background: linear-gradient(135deg, #a2cf49, #49CF49);