Skip to content

#a2df6d

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

RGB
162, 223, 109
HSL
92°, 64%, 65%
CMYK
27, 0, 51, 13
Luminance
0.6156

Every format

HEX#a2df6d
RGBrgb(162, 223, 109)
HSLhsl(92, 64%, 65%)
CMYKcmyk(27%, 0%, 51%, 13%)
LABlab(82.7 -38.4 49.3)
LCHlch(82.7 62.5 127.9)
OKLCHoklch(0.838 0.159 132.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a2df6d on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#a2df6d on black: 13.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.5%
Green87.5%
Blue42.7%

CMYK percentages

Cyan27.4%
Magenta0.0%
Yellow51.1%
Key (black)12.5%

Color previews

#a2df6d text on a black background

contrast 13.31:1

Card sample

#a2df6d text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a2df6d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2df6d in the Color Lab