Skip to content

#1ff2af

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

RGB
31, 242, 175
HSL
161°, 89%, 54%
CMYK
87, 0, 28, 5
Luminance
0.6689

Every format

HEX#1ff2af
RGBrgb(31, 242, 175)
HSLhsl(161, 89%, 54%)
CMYKcmyk(87%, 0%, 28%, 5%)
LABlab(85.5 -62.4 19.2)
LCHlch(85.5 65.3 162.9)
OKLCHoklch(0.853 0.177 164.0)

Copy-ready code

/* CSS */
color: #1ff2af;
background-color: #1ff2af;
/* Tailwind (arbitrary) */
class="text-[#1ff2af] bg-[#1ff2af]"
/* SCSS */
$brand: #1ff2af;
/* SwiftUI */
Color(red: 0.122, green: 0.949, blue: 0.686)
/* Android */
Color.parseColor("#1ff2af")

Accessibility — WCAG contrast

Aa
#1ff2af on white: 1.46:1
AA ✗ fail · AA-large · AAA
Aa
#1ff2af on black: 14.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red12.2%
Green94.9%
Blue68.6%

CMYK percentages

Cyan87.2%
Magenta0.0%
Yellow27.7%
Key (black)5.1%

Color previews

#1ff2af text on a black background

contrast 14.38:1

Card sample

#1ff2af text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #1ff2af;
Background color
Panel with #1ff2af background
background-color: #1ff2af;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(31, 242, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(31, 242, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1ff2af;
background: linear-gradient(135deg, #1ff2af, #1FA8F2);

Monochromatic scale

Palettes built from #1ff2af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #1ff2af in the Color Lab