Skip to content

#8afab2

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

RGB
138, 250, 178
HSL
141°, 92%, 76%
CMYK
45, 0, 29, 2
Luminance
0.7699

Every format

HEX#8afab2
RGBrgb(138, 250, 178)
HSLhsl(141, 92%, 76%)
CMYKcmyk(45%, 0%, 29%, 2%)
LABlab(90.3 -47.5 24.8)
LCHlch(90.3 53.6 152.4)
OKLCHoklch(0.900 0.144 154.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8afab2 on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#8afab2 on black: 16.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.1%
Green98.0%
Blue69.8%

CMYK percentages

Cyan44.8%
Magenta0.0%
Yellow28.8%
Key (black)2.0%

Color previews

#8afab2 text on a black background

contrast 16.40:1

Card sample

#8afab2 text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8afab2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8afab2 in the Color Lab