Skip to content

#2defac

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

RGB
45, 239, 172
HSL
159°, 86%, 56%
CMYK
81, 0, 28, 6
Luminance
0.6527

Every format

HEX#2defac
RGBrgb(45, 239, 172)
HSLhsl(159, 86%, 56%)
CMYKcmyk(81%, 0%, 28%, 6%)
LABlab(84.6 -60.9 19.6)
LCHlch(84.6 64.0 162.1)
OKLCHoklch(0.846 0.174 163.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red17.6%
Green93.7%
Blue67.5%

CMYK percentages

Cyan81.2%
Magenta0.0%
Yellow28.0%
Key (black)6.3%

Color previews

#2defac text on a black background

contrast 14.05:1

Card sample

#2defac text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2defac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2defac in the Color Lab