Skip to content

#2df18c

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

RGB
45, 241, 140
HSL
149°, 88%, 56%
CMYK
81, 0, 42, 6
Luminance
0.6536

Every format

HEX#2df18c
RGBrgb(45, 241, 140)
HSLhsl(149, 88%, 56%)
CMYKcmyk(81%, 0%, 42%, 6%)
LABlab(84.7 -68.0 36.0)
LCHlch(84.7 76.9 152.1)
OKLCHoklch(0.845 0.203 154.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2df18c on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#2df18c on black: 14.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green94.5%
Blue54.9%

CMYK percentages

Cyan81.3%
Magenta0.0%
Yellow41.9%
Key (black)5.5%

Color previews

#2df18c text on a black background

contrast 14.07:1

Card sample

#2df18c text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2df18c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2df18c in the Color Lab