Skip to content

#a2fd2c

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

RGB
162, 253, 44
HSL
86°, 98%, 58%
CMYK
36, 0, 83, 1
Luminance
0.7811

Every format

HEX#a2fd2c
RGBrgb(162, 253, 44)
HSLhsl(86, 98%, 58%)
CMYKcmyk(36%, 0%, 83%, 1%)
LABlab(90.8 -55.6 81.4)
LCHlch(90.8 98.5 124.3)
OKLCHoklch(0.902 0.238 131.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a2fd2c on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#a2fd2c on black: 16.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.5%
Green99.2%
Blue17.3%

CMYK percentages

Cyan36.0%
Magenta0.0%
Yellow82.6%
Key (black)0.8%

Color previews

#a2fd2c text on a black background

contrast 16.62:1

Card sample

#a2fd2c text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a2fd2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2fd2c in the Color Lab