Skip to content

#0cdd80

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

RGB
12, 221, 128
HSL
153°, 90%, 46%
CMYK
95, 0, 42, 13
Luminance
0.5335

Every format

HEX#0cdd80
RGBrgb(12, 221, 128)
HSLhsl(153, 90%, 46%)
CMYKcmyk(95%, 0%, 42%, 13%)
LABlab(78.1 -65.5 33.3)
LCHlch(78.1 73.4 153.0)
OKLCHoklch(0.789 0.194 154.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0cdd80 on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#0cdd80 on black: 11.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.7%
Green86.7%
Blue50.2%

CMYK percentages

Cyan94.6%
Magenta0.0%
Yellow42.1%
Key (black)13.3%

Color previews

#0cdd80 text on a black background

contrast 11.67:1

Card sample

#0cdd80 text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0cdd80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0cdd80 in the Color Lab