Skip to content

#8afac5

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

RGB
138, 250, 197
HSL
152°, 92%, 76%
CMYK
45, 0, 21, 2
Luminance
0.7781

Every format

HEX#8afac5
RGBrgb(138, 250, 197)
HSLhsl(152, 92%, 76%)
CMYKcmyk(45%, 0%, 21%, 2%)
LABlab(90.7 -43.9 15.6)
LCHlch(90.7 46.6 160.4)
OKLCHoklch(0.904 0.128 161.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8afac5 on white: 1.27:1
AA ✗ fail · AA-large · AAA
Aa
#8afac5 on black: 16.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.1%
Green98.0%
Blue77.3%

CMYK percentages

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

Color previews

#8afac5 text on a black background

contrast 16.56:1

Card sample

#8afac5 text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8afac5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8afac5 in the Color Lab