#0acb39
a dark, electric green · cool · closest name: forestgreen
RGB
10, 203, 57
HSL
135°, 91%, 42%
CMYK
95, 0, 72, 20
Luminance
0.4307
Every format
| HEX | #0acb39 |
| RGB | rgb(10, 203, 57) |
| HSL | hsl(135, 91%, 42%) |
| CMYK | cmyk(95%, 0%, 72%, 20%) |
| LAB | lab(71.6 -69.6 57.9) |
| LCH | lch(71.6 90.5 140.3) |
| OKLCH | oklch(0.733 0.229 144.9) |
Copy-ready code
/* CSS */
color: #0acb39;
background-color: #0acb39;
/* Tailwind (arbitrary) */
class="text-[#0acb39] bg-[#0acb39]"
/* SCSS */
$brand: #0acb39;
/* SwiftUI */
Color(red: 0.039, green: 0.796, blue: 0.224)
/* Android */
Color.parseColor("#0acb39")Accessibility — WCAG contrast
Aa
#0acb39 on white: 2.18:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#0acb39 on black: 9.61:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.9%
Green79.6%
Blue22.4%
CMYK percentages
Cyan95.1%
Magenta0.0%
Yellow71.9%
Key (black)20.4%
Color previews
#0acb39 text on a black background
contrast 9.61:1
Card sample
#0acb39 text on a white background
contrast 2.18:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0acb39;
Background color
Panel with #0acb39 background
background-color: #0acb39;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0acb39;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(10, 203, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(10, 203, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0acb39; background: linear-gradient(135deg, #0acb39, #0ACBBA);