Skip to content

#2af06d

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

RGB
42, 240, 109
HSL
140°, 87%, 55%
CMYK
83, 0, 55, 6
Luminance
0.6392

Every format

HEX#2af06d
RGBrgb(42, 240, 109)
HSLhsl(140, 87%, 55%)
CMYKcmyk(83%, 0%, 55%, 6%)
LABlab(83.9 -72.7 49.9)
LCHlch(83.9 88.2 145.6)
OKLCHoklch(0.837 0.229 148.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2af06d on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#2af06d on black: 13.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan82.5%
Magenta0.0%
Yellow54.6%
Key (black)5.9%

Color previews

#2af06d text on a black background

contrast 13.78:1

Card sample

#2af06d text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2af06d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2af06d in the Color Lab