Skip to content

#8af0af

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

RGB
138, 240, 175
HSL
142°, 77%, 74%
CMYK
43, 0, 27, 6
Luminance
0.7082

Every format

HEX#8af0af
RGBrgb(138, 240, 175)
HSLhsl(142, 77%, 74%)
CMYKcmyk(43%, 0%, 27%, 6%)
LABlab(87.4 -43.7 22.3)
LCHlch(87.4 49.1 153.0)
OKLCHoklch(0.876 0.133 154.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red54.1%
Green94.1%
Blue68.6%

CMYK percentages

Cyan42.5%
Magenta0.0%
Yellow27.1%
Key (black)5.9%

Color previews

#8af0af text on a black background

contrast 15.16:1

Card sample

#8af0af text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8af0af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8af0af in the Color Lab