Skip to content

#8afac2

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

RGB
138, 250, 194
HSL
150°, 92%, 76%
CMYK
45, 0, 22, 2
Luminance
0.7767

Every format

HEX#8afac2
RGBrgb(138, 250, 194)
HSLhsl(150, 92%, 76%)
CMYKcmyk(45%, 0%, 22%, 2%)
LABlab(90.6 -44.5 17.1)
LCHlch(90.6 47.6 159.0)
OKLCHoklch(0.903 0.130 160.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red54.1%
Green98.0%
Blue76.1%

CMYK percentages

Cyan44.8%
Magenta0.0%
Yellow22.4%
Key (black)2.0%

Color previews

#8afac2 text on a black background

contrast 16.53:1

Card sample

#8afac2 text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8afac2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8afac2 in the Color Lab