Skip to content

#a2db2f

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

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

Every format

HEX#a2db2f
RGBrgb(162, 219, 47)
HSLhsl(80, 71%, 52%)
CMYKcmyk(26%, 0%, 79%, 14%)
LABlab(81.0 -41.3 71.8)
LCHlch(81.0 82.9 119.9)
OKLCHoklch(0.823 0.198 127.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red63.5%
Green85.9%
Blue18.4%

CMYK percentages

Cyan26.0%
Magenta0.0%
Yellow78.5%
Key (black)14.1%

Color previews

#a2db2f text on a black background

contrast 12.71:1

Card sample

#a2db2f text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a2db2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2db2f in the Color Lab