Skip to content

#8af0ba

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

RGB
138, 240, 186
HSL
148°, 77%, 74%
CMYK
43, 0, 23, 6
Luminance
0.7127

Every format

HEX#8af0ba
RGBrgb(138, 240, 186)
HSLhsl(148, 77%, 74%)
CMYKcmyk(43%, 0%, 23%, 6%)
LABlab(87.6 -41.6 16.9)
LCHlch(87.6 45.0 157.9)
OKLCHoklch(0.878 0.123 159.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8af0ba on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#8af0ba on black: 15.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.1%
Green94.1%
Blue72.9%

CMYK percentages

Cyan42.5%
Magenta0.0%
Yellow22.5%
Key (black)5.9%

Color previews

#8af0ba text on a black background

contrast 15.25:1

Card sample

#8af0ba text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8af0ba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8af0ba in the Color Lab