Skip to content

#0cd477

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

RGB
12, 212, 119
HSL
152°, 89%, 44%
CMYK
94, 0, 44, 17
Luminance
0.4850

Every format

HEX#0cd477
RGBrgb(12, 212, 119)
HSLhsl(152, 89%, 44%)
CMYKcmyk(94%, 0%, 44%, 17%)
LABlab(75.1 -64.0 34.0)
LCHlch(75.1 72.5 152.0)
OKLCHoklch(0.764 0.191 153.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0cd477 on white: 1.96:1
AA ✗ fail · AA-large · AAA
Aa
#0cd477 on black: 10.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.7%
Green83.1%
Blue46.7%

CMYK percentages

Cyan94.3%
Magenta0.0%
Yellow43.9%
Key (black)16.9%

Color previews

#0cd477 text on a black background

contrast 10.70:1

Card sample

#0cd477 text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0cd477

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0cd477 in the Color Lab