Skip to content

#8afbc7

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

RGB
138, 251, 199
HSL
152°, 93%, 76%
CMYK
45, 0, 21, 2
Luminance
0.7852

Every format

HEX#8afbc7
RGBrgb(138, 251, 199)
HSLhsl(152, 93%, 76%)
CMYKcmyk(45%, 0%, 21%, 2%)
LABlab(91.0 -43.9 15.0)
LCHlch(91.0 46.4 161.1)
OKLCHoklch(0.907 0.128 162.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red54.1%
Green98.4%
Blue78.0%

CMYK percentages

Cyan45.0%
Magenta0.0%
Yellow20.7%
Key (black)1.6%

Color previews

#8afbc7 text on a black background

contrast 16.70:1

Card sample

#8afbc7 text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8afbc7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8afbc7 in the Color Lab