Skip to content

#0ccc4d

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

RGB
12, 204, 77
HSL
140°, 89%, 42%
CMYK
94, 0, 62, 20
Luminance
0.4380

Every format

HEX#0ccc4d
RGBrgb(12, 204, 77)
HSLhsl(140, 89%, 42%)
CMYKcmyk(94%, 0%, 62%, 20%)
LABlab(72.1 -67.8 50.3)
LCHlch(72.1 84.4 143.4)
OKLCHoklch(0.737 0.217 147.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0ccc4d on white: 2.15:1
AA ✗ fail · AA-large · AAA
Aa
#0ccc4d on black: 9.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.7%
Green80.0%
Blue30.2%

CMYK percentages

Cyan94.1%
Magenta0.0%
Yellow62.3%
Key (black)20.0%

Color previews

#0ccc4d text on a black background

contrast 9.76:1

Card sample

#0ccc4d text on a white background

contrast 2.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0ccc4d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0ccc4d in the Color Lab