#0ca821
a dark, electric green · cool · closest name: green
RGB
12, 168, 33
HSL
128°, 87%, 35%
CMYK
93, 0, 80, 34
Luminance
0.2819
Every format
| HEX | #0ca821 |
| RGB | rgb(12, 168, 33) |
| HSL | hsl(128, 87%, 35%) |
| CMYK | cmyk(93%, 0%, 80%, 34%) |
| LAB | lab(60.1 -61.1 54.5) |
| LCH | lch(60.1 81.9 138.3) |
| OKLCH | oklch(0.636 0.205 143.7) |
Copy-ready code
/* CSS */
color: #0ca821;
background-color: #0ca821;
/* Tailwind (arbitrary) */
class="text-[#0ca821] bg-[#0ca821]"
/* SCSS */
$brand: #0ca821;
/* SwiftUI */
Color(red: 0.047, green: 0.659, blue: 0.129)
/* Android */
Color.parseColor("#0ca821")Accessibility — WCAG contrast
Aa
#0ca821 on white: 3.16:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#0ca821 on black: 6.64:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red4.7%
Green65.9%
Blue12.9%
CMYK percentages
Cyan92.9%
Magenta0.0%
Yellow80.4%
Key (black)34.1%
Color previews
#0ca821 text on a black background
contrast 6.64:1
Card sample
#0ca821 text on a white background
contrast 3.16:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0ca821;
Background color
Panel with #0ca821 background
background-color: #0ca821;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0ca821;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(12, 168, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 168, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0ca821; background: linear-gradient(135deg, #0ca821, #0CA889);