Skip to content

#0cec49

a balanced, electric green · cool · closest name: lime

RGB
12, 236, 73
HSL
136°, 90%, 49%
CMYK
95, 0, 69, 8
Luminance
0.6055

Every format

HEX#0cec49
RGBrgb(12, 236, 73)
HSLhsl(136, 90%, 49%)
CMYKcmyk(95%, 0%, 69%, 8%)
LABlab(82.1 -77.5 62.9)
LCHlch(82.1 99.9 140.9)
OKLCHoklch(0.821 0.254 145.4)

Copy-ready code

/* CSS */
color: #0cec49;
background-color: #0cec49;
/* Tailwind (arbitrary) */
class="text-[#0cec49] bg-[#0cec49]"
/* SCSS */
$brand: #0cec49;
/* SwiftUI */
Color(red: 0.047, green: 0.925, blue: 0.286)
/* Android */
Color.parseColor("#0cec49")

Accessibility — WCAG contrast

Aa
#0cec49 on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#0cec49 on black: 13.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.7%
Green92.5%
Blue28.6%

CMYK percentages

Cyan94.9%
Magenta0.0%
Yellow69.1%
Key (black)7.5%

Color previews

#0cec49 text on a black background

contrast 13.11:1

Card sample

#0cec49 text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #0cec49;
Background color
Panel with #0cec49 background
background-color: #0cec49;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #0cec49;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(12, 236, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 236, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0cec49;
background: linear-gradient(135deg, #0cec49, #0CECDE);

Monochromatic scale

Palettes built from #0cec49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0cec49 in the Color Lab