Skip to content

#0cdf32

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

RGB
12, 223, 50
HSL
131°, 90%, 46%
CMYK
95, 0, 78, 13
Luminance
0.5308

Every format

HEX#0cdf32
RGBrgb(12, 223, 50)
HSLhsl(131, 90%, 46%)
CMYKcmyk(95%, 0%, 78%, 13%)
LABlab(77.9 -75.7 66.5)
LCHlch(77.9 100.8 138.7)
OKLCHoklch(0.785 0.253 143.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0cdf32 on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#0cdf32 on black: 11.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.7%
Green87.5%
Blue19.6%

CMYK percentages

Cyan94.6%
Magenta0.0%
Yellow77.6%
Key (black)12.5%

Color previews

#0cdf32 text on a black background

contrast 11.62:1

Card sample

#0cdf32 text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0cdf32

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0cdf32 in the Color Lab