Skip to content

#2af16d

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

RGB
42, 241, 109
HSL
140°, 88%, 56%
CMYK
83, 0, 55, 6
Luminance
0.6451

Every format

HEX#2af16d
RGBrgb(42, 241, 109)
HSLhsl(140, 88%, 56%)
CMYKcmyk(83%, 0%, 55%, 6%)
LABlab(84.2 -73.1 50.2)
LCHlch(84.2 88.7 145.5)
OKLCHoklch(0.840 0.230 148.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2af16d on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#2af16d on black: 13.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green94.5%
Blue42.7%

CMYK percentages

Cyan82.6%
Magenta0.0%
Yellow54.8%
Key (black)5.5%

Color previews

#2af16d text on a black background

contrast 13.90:1

Card sample

#2af16d text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(42, 241, 109, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(42, 241, 109, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2af16d;
background: linear-gradient(135deg, #2af16d, #2AF0F1);

Monochromatic scale

Palettes built from #2af16d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2af16d in the Color Lab