Skip to content

#8afad4

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

RGB
138, 250, 212
HSL
160°, 92%, 76%
CMYK
45, 0, 15, 2
Luminance
0.7853

Every format

HEX#8afad4
RGBrgb(138, 250, 212)
HSLhsl(160, 92%, 76%)
CMYKcmyk(45%, 0%, 15%, 2%)
LABlab(91.0 -40.8 8.3)
LCHlch(91.0 41.6 168.5)
OKLCHoklch(0.908 0.117 169.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8afad4 on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#8afad4 on black: 16.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.1%
Green98.0%
Blue83.1%

CMYK percentages

Cyan44.8%
Magenta0.0%
Yellow15.2%
Key (black)2.0%

Color previews

#8afad4 text on a black background

contrast 16.71:1

Card sample

#8afad4 text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8afad4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8afad4 in the Color Lab