Skip to content

#8af2cd

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

RGB
138, 242, 205
HSL
159°, 80%, 75%
CMYK
43, 0, 15, 5
Luminance
0.7332

Every format

HEX#8af2cd
RGBrgb(138, 242, 205)
HSLhsl(159, 80%, 75%)
CMYKcmyk(43%, 0%, 15%, 5%)
LABlab(88.6 -38.7 8.5)
LCHlch(88.6 39.6 167.6)
OKLCHoklch(0.888 0.111 168.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8af2cd on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#8af2cd on black: 15.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.1%
Green94.9%
Blue80.4%

CMYK percentages

Cyan43.0%
Magenta0.0%
Yellow15.3%
Key (black)5.1%

Color previews

#8af2cd text on a black background

contrast 15.66:1

Card sample

#8af2cd text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8af2cd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8af2cd in the Color Lab