Skip to content

#a2eb3d

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

RGB
162, 235, 61
HSL
85°, 81%, 58%
CMYK
31, 0, 74, 8
Luminance
0.6743

Every format

HEX#a2eb3d
RGBrgb(162, 235, 61)
HSLhsl(85, 81%, 58%)
CMYKcmyk(31%, 0%, 74%, 8%)
LABlab(85.7 -47.5 72.0)
LCHlch(85.7 86.2 123.4)
OKLCHoklch(0.861 0.210 130.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red63.5%
Green92.2%
Blue23.9%

CMYK percentages

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

Color previews

#a2eb3d text on a black background

contrast 14.49:1

Card sample

#a2eb3d text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a2eb3d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2eb3d in the Color Lab