Skip to content

#4afbab

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

RGB
74, 251, 171
HSL
153°, 96%, 64%
CMYK
71, 0, 32, 2
Luminance
0.7339

Every format

HEX#4afbab
RGBrgb(74, 251, 171)
HSLhsl(153, 96%, 64%)
CMYKcmyk(71%, 0%, 32%, 2%)
LABlab(88.6 -62.3 25.8)
LCHlch(88.6 67.4 157.5)
OKLCHoklch(0.880 0.181 158.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red29.0%
Green98.4%
Blue67.1%

CMYK percentages

Cyan70.5%
Magenta0.0%
Yellow31.9%
Key (black)1.6%

Color previews

#4afbab text on a black background

contrast 15.68:1

Card sample

#4afbab text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4afbab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4afbab in the Color Lab