Skip to content

#a2ef1c

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

RGB
162, 239, 28
HSL
82°, 87%, 52%
CMYK
32, 0, 88, 6
Luminance
0.6950

Every format

HEX#a2ef1c
RGBrgb(162, 239, 28)
HSLhsl(82, 87%, 52%)
CMYKcmyk(32%, 0%, 88%, 6%)
LABlab(86.8 -50.4 81.0)
LCHlch(86.8 95.4 121.9)
OKLCHoklch(0.869 0.227 129.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a2ef1c on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#a2ef1c on black: 14.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.5%
Green93.7%
Blue11.0%

CMYK percentages

Cyan32.2%
Magenta0.0%
Yellow88.3%
Key (black)6.3%

Color previews

#a2ef1c text on a black background

contrast 14.90:1

Card sample

#a2ef1c text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(162, 239, 28, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(162, 239, 28, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a2ef1c;
background: linear-gradient(135deg, #a2ef1c, #1CEF23);

Monochromatic scale

Palettes built from #a2ef1c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2ef1c in the Color Lab