#a0c310
a dark, electric green · cool · closest name: olivedrab
RGB
160, 195, 16
HSL
72°, 85%, 41%
CMYK
18, 0, 92, 24
Luminance
0.4654
Every format
| HEX | #a0c310 |
| RGB | rgb(160, 195, 16) |
| HSL | hsl(72, 85%, 41%) |
| CMYK | cmyk(18%, 0%, 92%, 24%) |
| LAB | lab(73.9 -32.2 72.4) |
| LCH | lch(73.9 79.2 114.0) |
| OKLCH | oklch(0.764 0.182 121.9) |
Copy-ready code
/* CSS */
color: #a0c310;
background-color: #a0c310;
/* Tailwind (arbitrary) */
class="text-[#a0c310] bg-[#a0c310]"
/* SCSS */
$brand: #a0c310;
/* SwiftUI */
Color(red: 0.627, green: 0.765, blue: 0.063)
/* Android */
Color.parseColor("#a0c310")Accessibility — WCAG contrast
Aa
#a0c310 on white: 2.04:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a0c310 on black: 10.31:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red62.7%
Green76.5%
Blue6.3%
CMYK percentages
Cyan17.9%
Magenta0.0%
Yellow91.8%
Key (black)23.5%
Color previews
#a0c310 text on a black background
contrast 10.31:1
Card sample
#a0c310 text on a white background
contrast 2.04:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a0c310;
Background color
Panel with #a0c310 background
background-color: #a0c310;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a0c310;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(160, 195, 16, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(160, 195, 16, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a0c310; background: linear-gradient(135deg, #a0c310, #29C310);