Skip to content

#0cdb2f

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

RGB
12, 219, 47
HSL
130°, 90%, 45%
CMYK
95, 0, 79, 14
Luminance
0.5095

Every format

HEX#0cdb2f
RGBrgb(12, 219, 47)
HSLhsl(130, 90%, 45%)
CMYKcmyk(95%, 0%, 79%, 14%)
LABlab(76.6 -74.8 66.2)
LCHlch(76.6 99.8 138.5)
OKLCHoklch(0.774 0.250 143.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0cdb2f on white: 1.88:1
AA ✗ fail · AA-large · AAA
Aa
#0cdb2f on black: 11.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.7%
Green85.9%
Blue18.4%

CMYK percentages

Cyan94.5%
Magenta0.0%
Yellow78.5%
Key (black)14.1%

Color previews

#0cdb2f text on a black background

contrast 11.19:1

Card sample

#0cdb2f text on a white background

contrast 1.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0cdb2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0cdb2f in the Color Lab