Skip to content

#a2df4d

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

RGB
162, 223, 77
HSL
85°, 70%, 59%
CMYK
27, 0, 66, 13
Luminance
0.6099

Every format

HEX#a2df4d
RGBrgb(162, 223, 77)
HSLhsl(85, 70%, 59%)
CMYKcmyk(27%, 0%, 66%, 13%)
LABlab(82.4 -41.3 62.9)
LCHlch(82.4 75.2 123.3)
OKLCHoklch(0.834 0.185 129.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a2df4d on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#a2df4d on black: 13.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.5%
Green87.5%
Blue30.2%

CMYK percentages

Cyan27.4%
Magenta0.0%
Yellow65.5%
Key (black)12.5%

Color previews

#a2df4d text on a black background

contrast 13.20:1

Card sample

#a2df4d text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(162, 223, 77, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(162, 223, 77, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a2df4d;
background: linear-gradient(135deg, #a2df4d, #4DDF59);

Monochromatic scale

Palettes built from #a2df4d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2df4d in the Color Lab