Skip to content

#9afba8

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

RGB
154, 251, 168
HSL
129°, 92%, 79%
CMYK
39, 0, 33, 2
Luminance
0.7869

Every format

HEX#9afba8
RGBrgb(154, 251, 168)
HSLhsl(129, 92%, 79%)
CMYKcmyk(39%, 0%, 33%, 2%)
LABlab(91.1 -45.2 31.0)
LCHlch(91.1 54.9 145.5)
OKLCHoklch(0.907 0.146 147.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9afba8 on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#9afba8 on black: 16.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.4%
Green98.4%
Blue65.9%

CMYK percentages

Cyan38.6%
Magenta0.0%
Yellow33.1%
Key (black)1.6%

Color previews

#9afba8 text on a black background

contrast 16.74:1

Card sample

#9afba8 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #9afba8;
Background color
Panel with #9afba8 background
background-color: #9afba8;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(154, 251, 168, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(154, 251, 168, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9afba8;
background: linear-gradient(135deg, #9afba8, #9AFBE9);

Monochromatic scale

Palettes built from #9afba8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9afba8 in the Color Lab