Skip to content

#2af409

a balanced, electric green · cool · closest name: lime

RGB
42, 244, 9
HSL
112°, 93%, 50%
CMYK
83, 0, 96, 4
Luminance
0.6521

Every format

HEX#2af409
RGBrgb(42, 244, 9)
HSLhsl(112, 93%, 50%)
CMYKcmyk(83%, 0%, 96%, 4%)
LABlab(84.6 -80.9 80.0)
LCHlch(84.6 113.8 135.3)
OKLCHoklch(0.841 0.280 141.8)

Copy-ready code

/* CSS */
color: #2af409;
background-color: #2af409;
/* Tailwind (arbitrary) */
class="text-[#2af409] bg-[#2af409]"
/* SCSS */
$brand: #2af409;
/* SwiftUI */
Color(red: 0.165, green: 0.957, blue: 0.035)
/* Android */
Color.parseColor("#2af409")

Accessibility — WCAG contrast

Aa
#2af409 on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#2af409 on black: 14.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green95.7%
Blue3.5%

CMYK percentages

Cyan82.8%
Magenta0.0%
Yellow96.3%
Key (black)4.3%

Color previews

#2af409 text on a black background

contrast 14.04:1

Card sample

#2af409 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(42, 244, 9, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(42, 244, 9, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2af409;
background: linear-gradient(135deg, #2af409, #09F485);

Monochromatic scale

Palettes built from #2af409

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2af409 in the Color Lab