Skip to content

#8afef1

a light, electric cyan · cool · closest name: turquoise

RGB
138, 254, 241
HSL
173°, 98%, 77%
CMYK
46, 0, 5, 0
Luminance
0.8264

Every format

HEX#8afef1
RGBrgb(138, 254, 241)
HSLhsl(173, 98%, 77%)
CMYKcmyk(46%, 0%, 5%, 0%)
LABlab(92.8 -36.0 -4.0)
LCHlch(92.8 36.3 186.4)
OKLCHoklch(0.925 0.108 186.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8afef1 on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#8afef1 on black: 17.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.1%
Green99.6%
Blue94.5%

CMYK percentages

Cyan45.7%
Magenta0.0%
Yellow5.1%
Key (black)0.4%

Color previews

#8afef1 text on a black background

contrast 17.53:1

Card sample

#8afef1 text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8afef1;
Background color
Panel with #8afef1 background
background-color: #8afef1;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(138, 254, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(138, 254, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8afef1;
background: linear-gradient(135deg, #8afef1, #8ABEFE);

Monochromatic scale

Palettes built from #8afef1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8afef1 in the Color Lab