Skip to content

#8af6ba

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

RGB
138, 246, 186
HSL
147°, 86%, 75%
CMYK
44, 0, 24, 4
Luminance
0.7486

Every format

HEX#8af6ba
RGBrgb(138, 246, 186)
HSLhsl(147, 86%, 75%)
CMYKcmyk(44%, 0%, 24%, 4%)
LABlab(89.3 -44.3 19.3)
LCHlch(89.3 48.3 156.4)
OKLCHoklch(0.892 0.132 157.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8af6ba on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#8af6ba on black: 15.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.1%
Green96.5%
Blue72.9%

CMYK percentages

Cyan43.9%
Magenta0.0%
Yellow24.4%
Key (black)3.5%

Color previews

#8af6ba text on a black background

contrast 15.97:1

Card sample

#8af6ba text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8af6ba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8af6ba in the Color Lab