Skip to content

#0cd049

a dark, electric green · cool · closest name: forestgreen

RGB
12, 208, 73
HSL
139°, 89%, 43%
CMYK
94, 0, 65, 18
Luminance
0.4567

Every format

HEX#0cd049
RGBrgb(12, 208, 73)
HSLhsl(139, 89%, 43%)
CMYKcmyk(94%, 0%, 65%, 18%)
LABlab(73.3 -69.4 53.4)
LCHlch(73.3 87.6 142.4)
OKLCHoklch(0.747 0.224 146.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0cd049 on white: 2.07:1
AA ✗ fail · AA-large · AAA
Aa
#0cd049 on black: 10.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.7%
Green81.6%
Blue28.6%

CMYK percentages

Cyan94.2%
Magenta0.0%
Yellow64.9%
Key (black)18.4%

Color previews

#0cd049 text on a black background

contrast 10.13:1

Card sample

#0cd049 text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0cd049

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0cd049 in the Color Lab