Skip to content

#2af5cc

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

RGB
42, 245, 204
HSL
168°, 91%, 56%
CMYK
83, 0, 17, 4
Luminance
0.7016

Every format

HEX#2af5cc
RGBrgb(42, 245, 204)
HSLhsl(168, 91%, 56%)
CMYKcmyk(83%, 0%, 17%, 4%)
LABlab(87.1 -56.0 6.5)
LCHlch(87.1 56.4 173.4)
OKLCHoklch(0.869 0.159 174.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2af5cc on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#2af5cc on black: 15.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green96.1%
Blue80.0%

CMYK percentages

Cyan82.9%
Magenta0.0%
Yellow16.7%
Key (black)3.9%

Color previews

#2af5cc text on a black background

contrast 15.03:1

Card sample

#2af5cc text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2af5cc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2af5cc in the Color Lab