#0ce27c
a balanced, electric green · cool · closest name: forestgreen
RGB
12, 226, 124
HSL
151°, 90%, 47%
CMYK
95, 0, 45, 11
Luminance
0.5593
Every format
| HEX | #0ce27c |
| RGB | rgb(12, 226, 124) |
| HSL | hsl(151, 90%, 47%) |
| CMYK | cmyk(95%, 0%, 45%, 11%) |
| LAB | lab(79.6 -67.8 37.3) |
| LCH | lch(79.6 77.4 151.2) |
| OKLCH | oklch(0.801 0.204 153.3) |
Copy-ready code
/* CSS */
color: #0ce27c;
background-color: #0ce27c;
/* Tailwind (arbitrary) */
class="text-[#0ce27c] bg-[#0ce27c]"
/* SCSS */
$brand: #0ce27c;
/* SwiftUI */
Color(red: 0.047, green: 0.886, blue: 0.486)
/* Android */
Color.parseColor("#0ce27c")Accessibility — WCAG contrast
Aa
#0ce27c on white: 1.72:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#0ce27c on black: 12.19:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red4.7%
Green88.6%
Blue48.6%
CMYK percentages
Cyan94.7%
Magenta0.0%
Yellow45.1%
Key (black)11.4%
Color previews
#0ce27c text on a black background
contrast 12.19:1
Card sample
#0ce27c text on a white background
contrast 1.72:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0ce27c;
Background color
Panel with #0ce27c background
background-color: #0ce27c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0ce27c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(12, 226, 124, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 226, 124, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0ce27c; background: linear-gradient(135deg, #0ce27c, #0CB9E2);