#0cac49
a dark, electric green · cool · closest name: forestgreen
RGB
12, 172, 73
HSL
143°, 87%, 36%
CMYK
93, 0, 58, 33
Luminance
0.3006
Every format
| HEX | #0cac49 |
| RGB | rgb(12, 172, 73) |
| HSL | hsl(143, 87%, 36%) |
| CMYK | cmyk(93%, 0%, 58%, 33%) |
| LAB | lab(61.7 -58.3 40.1) |
| LCH | lch(61.7 70.7 145.5) |
| OKLCH | oklch(0.651 0.183 148.5) |
Copy-ready code
/* CSS */
color: #0cac49;
background-color: #0cac49;
/* Tailwind (arbitrary) */
class="text-[#0cac49] bg-[#0cac49]"
/* SCSS */
$brand: #0cac49;
/* SwiftUI */
Color(red: 0.047, green: 0.675, blue: 0.286)
/* Android */
Color.parseColor("#0cac49")Accessibility — WCAG contrast
Aa
#0cac49 on white: 2.99:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#0cac49 on black: 7.01:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red4.7%
Green67.5%
Blue28.6%
CMYK percentages
Cyan93.0%
Magenta0.0%
Yellow57.6%
Key (black)32.5%
Color previews
#0cac49 text on a black background
contrast 7.01:1
Card sample
#0cac49 text on a white background
contrast 2.99:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0cac49;
Background color
Panel with #0cac49 background
background-color: #0cac49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0cac49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(12, 172, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 172, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0cac49; background: linear-gradient(135deg, #0cac49, #0CA4AC);