#2ac00c
a dark, electric green · cool · closest name: green
RGB
42, 192, 12
HSL
110°, 88%, 40%
CMYK
78, 0, 94, 25
Luminance
0.3822
Every format
| HEX | #2ac00c |
| RGB | rgb(42, 192, 12) |
| HSL | hsl(110, 88%, 40%) |
| CMYK | cmyk(78%, 0%, 94%, 25%) |
| LAB | lab(68.2 -66.1 66.3) |
| LCH | lch(68.2 93.6 134.9) |
| OKLCH | oklch(0.704 0.231 141.4) |
Copy-ready code
/* CSS */
color: #2ac00c;
background-color: #2ac00c;
/* Tailwind (arbitrary) */
class="text-[#2ac00c] bg-[#2ac00c]"
/* SCSS */
$brand: #2ac00c;
/* SwiftUI */
Color(red: 0.165, green: 0.753, blue: 0.047)
/* Android */
Color.parseColor("#2ac00c")Accessibility — WCAG contrast
Aa
#2ac00c on white: 2.43:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#2ac00c on black: 8.64:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red16.5%
Green75.3%
Blue4.7%
CMYK percentages
Cyan78.1%
Magenta0.0%
Yellow93.7%
Key (black)24.7%
Color previews
#2ac00c text on a black background
contrast 8.64:1
Card sample
#2ac00c text on a white background
contrast 2.43:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2ac00c;
Background color
Panel with #2ac00c background
background-color: #2ac00c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2ac00c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(42, 192, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(42, 192, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2ac00c; background: linear-gradient(135deg, #2ac00c, #0CC066);