Skip to content

#a2dc2d

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

RGB
162, 220, 45
HSL
80°, 71%, 52%
CMYK
26, 0, 80, 14
Luminance
0.5906

Every format

HEX#a2dc2d
RGBrgb(162, 220, 45)
HSLhsl(80, 71%, 52%)
CMYKcmyk(26%, 0%, 80%, 14%)
LABlab(81.3 -41.8 72.7)
LCHlch(81.3 83.8 119.9)
OKLCHoklch(0.825 0.200 127.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a2dc2d on white: 1.64:1
AA ✗ fail · AA-large · AAA
Aa
#a2dc2d on black: 12.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.5%
Green86.3%
Blue17.6%

CMYK percentages

Cyan26.4%
Magenta0.0%
Yellow79.5%
Key (black)13.7%

Color previews

#a2dc2d text on a black background

contrast 12.81:1

Card sample

#a2dc2d text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a2dc2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2dc2d in the Color Lab