Skip to content

#a2f080

a light, electric green · cool · closest name: khaki

RGB
162, 240, 128
HSL
102°, 79%, 72%
CMYK
33, 0, 47, 6
Luminance
0.7156

Every format

HEX#a2f080
RGBrgb(162, 240, 128)
HSLhsl(102, 79%, 72%)
CMYKcmyk(33%, 0%, 47%, 6%)
LABlab(87.8 -43.7 46.5)
LCHlch(87.8 63.8 133.2)
OKLCHoklch(0.879 0.165 136.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a2f080 on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#a2f080 on black: 15.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.5%
Green94.1%
Blue50.2%

CMYK percentages

Cyan32.5%
Magenta0.0%
Yellow46.7%
Key (black)5.9%

Color previews

#a2f080 text on a black background

contrast 15.31:1

Card sample

#a2f080 text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(162, 240, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(162, 240, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a2f080;
background: linear-gradient(135deg, #a2f080, #80F0A9);

Monochromatic scale

Palettes built from #a2f080

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2f080 in the Color Lab