Skip to content

#42dfab

a balanced, vivid cyan · cool · closest name: aquamarine

RGB
66, 223, 171
HSL
160°, 71%, 57%
CMYK
70, 0, 23, 13
Luminance
0.5687

Every format

HEX#42dfab
RGBrgb(66, 223, 171)
HSLhsl(160, 71%, 57%)
CMYKcmyk(70%, 0%, 23%, 13%)
LABlab(80.1 -52.5 13.9)
LCHlch(80.1 54.4 165.2)
OKLCHoklch(0.810 0.149 166.2)

Copy-ready code

/* CSS */
color: #42dfab;
background-color: #42dfab;
/* Tailwind (arbitrary) */
class="text-[#42dfab] bg-[#42dfab]"
/* SCSS */
$brand: #42dfab;
/* SwiftUI */
Color(red: 0.259, green: 0.875, blue: 0.671)
/* Android */
Color.parseColor("#42dfab")

Accessibility — WCAG contrast

Aa
#42dfab on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#42dfab on black: 12.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.9%
Green87.5%
Blue67.1%

CMYK percentages

Cyan70.4%
Magenta0.0%
Yellow23.3%
Key (black)12.5%

Color previews

#42dfab text on a black background

contrast 12.37:1

Card sample

#42dfab text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #42dfab;
Background color
Panel with #42dfab background
background-color: #42dfab;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(66, 223, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(66, 223, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #42dfab;
background: linear-gradient(135deg, #42dfab, #42AADF);

Monochromatic scale

Palettes built from #42dfab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #42dfab in the Color Lab