Skip to content

#0cfd2f

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

RGB
12, 253, 47
HSL
129°, 98%, 52%
CMYK
95, 0, 81, 1
Luminance
0.7053

Every format

HEX#0cfd2f
RGBrgb(12, 253, 47)
HSLhsl(129, 98%, 52%)
CMYKcmyk(95%, 0%, 81%, 1%)
LABlab(87.3 -84.0 76.1)
LCHlch(87.3 113.3 137.8)
OKLCHoklch(0.863 0.283 143.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0cfd2f on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#0cfd2f on black: 15.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.7%
Green99.2%
Blue18.4%

CMYK percentages

Cyan95.3%
Magenta0.0%
Yellow81.4%
Key (black)0.8%

Color previews

#0cfd2f text on a black background

contrast 15.11:1

Card sample

#0cfd2f text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0cfd2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0cfd2f in the Color Lab