Skip to content

#9afba2

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

RGB
154, 251, 162
HSL
125°, 92%, 79%
CMYK
39, 0, 36, 2
Luminance
0.7847

Every format

HEX#9afba2
RGBrgb(154, 251, 162)
HSLhsl(125, 92%, 79%)
CMYKcmyk(39%, 0%, 36%, 2%)
LABlab(91.0 -46.2 33.9)
LCHlch(91.0 57.3 143.7)
OKLCHoklch(0.906 0.152 146.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9afba2 on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#9afba2 on black: 16.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.4%
Green98.4%
Blue63.5%

CMYK percentages

Cyan38.6%
Magenta0.0%
Yellow35.5%
Key (black)1.6%

Color previews

#9afba2 text on a black background

contrast 16.69:1

Card sample

#9afba2 text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9afba2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9afba2 in the Color Lab