Skip to content

#a2eb2f

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

RGB
162, 235, 47
HSL
83°, 83%, 55%
CMYK
31, 0, 80, 8
Luminance
0.6730

Every format

HEX#a2eb2f
RGBrgb(162, 235, 47)
HSLhsl(83, 83%, 55%)
CMYKcmyk(31%, 0%, 80%, 8%)
LABlab(85.7 -48.1 76.0)
LCHlch(85.7 90.0 122.3)
OKLCHoklch(0.860 0.216 129.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a2eb2f on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#a2eb2f on black: 14.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.5%
Green92.2%
Blue18.4%

CMYK percentages

Cyan31.1%
Magenta0.0%
Yellow80.0%
Key (black)7.8%

Color previews

#a2eb2f text on a black background

contrast 14.46:1

Card sample

#a2eb2f text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a2eb2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2eb2f in the Color Lab