Skip to content

#a2db2e

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

RGB
162, 219, 46
HSL
80°, 71%, 52%
CMYK
26, 0, 79, 14
Luminance
0.5854

Every format

HEX#a2db2e
RGBrgb(162, 219, 46)
HSLhsl(80, 71%, 52%)
CMYKcmyk(26%, 0%, 79%, 14%)
LABlab(81.0 -41.3 72.1)
LCHlch(81.0 83.1 119.8)
OKLCHoklch(0.823 0.198 127.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a2db2e on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#a2db2e on black: 12.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.5%
Green85.9%
Blue18.0%

CMYK percentages

Cyan26.0%
Magenta0.0%
Yellow79.0%
Key (black)14.1%

Color previews

#a2db2e text on a black background

contrast 12.71:1

Card sample

#a2db2e text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a2db2e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2db2e in the Color Lab