Skip to content

#4afba8

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

RGB
74, 251, 168
HSL
152°, 96%, 64%
CMYK
71, 0, 33, 2
Luminance
0.7328

Every format

HEX#4afba8
RGBrgb(74, 251, 168)
HSLhsl(152, 96%, 64%)
CMYKcmyk(71%, 0%, 33%, 2%)
LABlab(88.6 -62.9 27.2)
LCHlch(88.6 68.5 156.6)
OKLCHoklch(0.880 0.184 158.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4afba8 on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#4afba8 on black: 15.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red29.0%
Green98.4%
Blue65.9%

CMYK percentages

Cyan70.5%
Magenta0.0%
Yellow33.1%
Key (black)1.6%

Color previews

#4afba8 text on a black background

contrast 15.66:1

Card sample

#4afba8 text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4afba8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4afba8 in the Color Lab