Skip to content

#a2db2c

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

RGB
162, 219, 44
HSL
80°, 71%, 52%
CMYK
26, 0, 80, 14
Luminance
0.5853

Every format

HEX#a2db2c
RGBrgb(162, 219, 44)
HSLhsl(80, 71%, 52%)
CMYKcmyk(26%, 0%, 80%, 14%)
LABlab(81.0 -41.4 72.7)
LCHlch(81.0 83.6 119.7)
OKLCHoklch(0.823 0.199 127.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red63.5%
Green85.9%
Blue17.3%

CMYK percentages

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

Color previews

#a2db2c text on a black background

contrast 12.71:1

Card sample

#a2db2c text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a2db2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2db2c in the Color Lab