Skip to content

#0cd56f

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

RGB
12, 213, 111
HSL
150°, 89%, 44%
CMYK
94, 0, 48, 17
Luminance
0.4881

Every format

HEX#0cd56f
RGBrgb(12, 213, 111)
HSLhsl(150, 89%, 44%)
CMYKcmyk(94%, 0%, 48%, 17%)
LABlab(75.3 -65.8 38.3)
LCHlch(75.3 76.1 149.8)
OKLCHoklch(0.765 0.199 152.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0cd56f on white: 1.95:1
AA ✗ fail · AA-large · AAA
Aa
#0cd56f on black: 10.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.7%
Green83.5%
Blue43.5%

CMYK percentages

Cyan94.4%
Magenta0.0%
Yellow47.9%
Key (black)16.5%

Color previews

#0cd56f text on a black background

contrast 10.76:1

Card sample

#0cd56f text on a white background

contrast 1.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0cd56f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0cd56f in the Color Lab