Skip to content

#afe2ce

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

RGB
175, 226, 206
HSL
157°, 47%, 79%
CMYK
23, 0, 9, 11
Luminance
0.6796

Every format

HEX#afe2ce
RGBrgb(175, 226, 206)
HSLhsl(157, 47%, 79%)
CMYKcmyk(23%, 0%, 9%, 11%)
LABlab(86.0 -20.4 4.4)
LCHlch(86.0 20.9 167.7)
OKLCHoklch(0.872 0.059 168.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afe2ce on white: 1.44:1
AA ✗ fail · AA-large · AAA
Aa
#afe2ce on black: 14.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green88.6%
Blue80.8%

CMYK percentages

Cyan22.6%
Magenta0.0%
Yellow8.8%
Key (black)11.4%

Color previews

#afe2ce text on a black background

contrast 14.59:1

Card sample

#afe2ce text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afe2ce

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afe2ce in the Color Lab