Skip to content

#12ef21

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

RGB
18, 239, 33
HSL
124°, 87%, 50%
CMYK
93, 0, 86, 6
Luminance
0.6197

Every format

HEX#12ef21
RGBrgb(18, 239, 33)
HSLhsl(124, 87%, 50%)
CMYKcmyk(93%, 0%, 86%, 6%)
LABlab(82.9 -80.7 75.3)
LCHlch(82.9 110.3 137.0)
OKLCHoklch(0.826 0.274 142.9)

Copy-ready code

/* CSS */
color: #12ef21;
background-color: #12ef21;
/* Tailwind (arbitrary) */
class="text-[#12ef21] bg-[#12ef21]"
/* SCSS */
$brand: #12ef21;
/* SwiftUI */
Color(red: 0.071, green: 0.937, blue: 0.129)
/* Android */
Color.parseColor("#12ef21")

Accessibility — WCAG contrast

Aa
#12ef21 on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#12ef21 on black: 13.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red7.1%
Green93.7%
Blue12.9%

CMYK percentages

Cyan92.5%
Magenta0.0%
Yellow86.2%
Key (black)6.3%

Color previews

#12ef21 text on a black background

contrast 13.39:1

Card sample

#12ef21 text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #12ef21;
Background color
Panel with #12ef21 background
background-color: #12ef21;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #12ef21;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(18, 239, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(18, 239, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #12ef21;
background: linear-gradient(135deg, #12ef21, #12EFB4);

Monochromatic scale

Palettes built from #12ef21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #12ef21 in the Color Lab