Skip to content

#8af998

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

RGB
138, 249, 152
HSL
128°, 90%, 76%
CMYK
45, 0, 39, 2
Luminance
0.7542

Every format

HEX#8af998
RGBrgb(138, 249, 152)
HSLhsl(128, 90%, 76%)
CMYKcmyk(45%, 0%, 39%, 2%)
LABlab(89.6 -51.4 36.9)
LCHlch(89.6 63.3 144.3)
OKLCHoklch(0.892 0.167 146.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red54.1%
Green97.6%
Blue59.6%

CMYK percentages

Cyan44.6%
Magenta0.0%
Yellow39.0%
Key (black)2.4%

Color previews

#8af998 text on a black background

contrast 16.08:1

Card sample

#8af998 text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8af998

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8af998 in the Color Lab