Skip to content

#2afc13

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

RGB
42, 252, 19
HSL
114°, 98%, 53%
CMYK
83, 0, 93, 1
Luminance
0.7016

Every format

HEX#2afc13
RGBrgb(42, 252, 19)
HSLhsl(114, 98%, 53%)
CMYKcmyk(83%, 0%, 93%, 1%)
LABlab(87.1 -82.9 81.1)
LCHlch(87.1 116.0 135.6)
OKLCHoklch(0.862 0.286 142.0)

Copy-ready code

/* CSS */
color: #2afc13;
background-color: #2afc13;
/* Tailwind (arbitrary) */
class="text-[#2afc13] bg-[#2afc13]"
/* SCSS */
$brand: #2afc13;
/* SwiftUI */
Color(red: 0.165, green: 0.988, blue: 0.075)
/* Android */
Color.parseColor("#2afc13")

Accessibility — WCAG contrast

Aa
#2afc13 on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#2afc13 on black: 15.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green98.8%
Blue7.5%

CMYK percentages

Cyan83.3%
Magenta0.0%
Yellow92.5%
Key (black)1.2%

Color previews

#2afc13 text on a black background

contrast 15.03:1

Card sample

#2afc13 text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2afc13;
Background color
Panel with #2afc13 background
background-color: #2afc13;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(42, 252, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(42, 252, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2afc13;
background: linear-gradient(135deg, #2afc13, #13FC97);

Monochromatic scale

Palettes built from #2afc13

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2afc13 in the Color Lab