Skip to content

#afe4d2

a light, vivid green · cool · closest name: beige

RGB
175, 228, 210
HSL
160°, 50%, 79%
CMYK
23, 0, 8, 11
Luminance
0.6925

Every format

HEX#afe4d2
RGBrgb(175, 228, 210)
HSLhsl(160, 50%, 79%)
CMYKcmyk(23%, 0%, 8%, 11%)
LABlab(86.6 -20.6 3.3)
LCHlch(86.6 20.8 171.0)
OKLCHoklch(0.877 0.060 172.0)

Copy-ready code

/* CSS */
color: #afe4d2;
background-color: #afe4d2;
/* Tailwind (arbitrary) */
class="text-[#afe4d2] bg-[#afe4d2]"
/* SCSS */
$brand: #afe4d2;
/* SwiftUI */
Color(red: 0.686, green: 0.894, blue: 0.824)
/* Android */
Color.parseColor("#afe4d2")

Accessibility — WCAG contrast

Aa
#afe4d2 on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#afe4d2 on black: 14.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green89.4%
Blue82.4%

CMYK percentages

Cyan23.2%
Magenta0.0%
Yellow7.9%
Key (black)10.6%

Color previews

#afe4d2 text on a black background

contrast 14.85:1

Card sample

#afe4d2 text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 228, 210, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 228, 210, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afe4d2;
background: linear-gradient(135deg, #afe4d2, #AFD3E4);

Monochromatic scale

Palettes built from #afe4d2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afe4d2 in the Color Lab