Skip to content

#a0df2f

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

RGB
160, 223, 47
HSL
82°, 73%, 53%
CMYK
28, 0, 79, 13
Luminance
0.6045

Every format

HEX#a0df2f
RGBrgb(160, 223, 47)
HSLhsl(82, 73%, 53%)
CMYKcmyk(28%, 0%, 79%, 13%)
LABlab(82.1 -43.8 72.8)
LCHlch(82.1 84.9 121.0)
OKLCHoklch(0.831 0.203 128.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a0df2f on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#a0df2f on black: 13.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red62.7%
Green87.5%
Blue18.4%

CMYK percentages

Cyan28.3%
Magenta0.0%
Yellow78.9%
Key (black)12.5%

Color previews

#a0df2f text on a black background

contrast 13.09:1

Card sample

#a0df2f text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a0df2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a0df2f in the Color Lab