Skip to content

#afe2c1

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

RGB
175, 226, 193
HSL
141°, 47%, 79%
CMYK
23, 0, 15, 11
Luminance
0.6736

Every format

HEX#afe2c1
RGBrgb(175, 226, 193)
HSLhsl(141, 47%, 79%)
CMYKcmyk(23%, 0%, 15%, 11%)
LABlab(85.7 -22.9 10.8)
LCHlch(85.7 25.3 154.7)
OKLCHoklch(0.868 0.070 156.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afe2c1 on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#afe2c1 on black: 14.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green88.6%
Blue75.7%

CMYK percentages

Cyan22.6%
Magenta0.0%
Yellow14.6%
Key (black)11.4%

Color previews

#afe2c1 text on a black background

contrast 14.47:1

Card sample

#afe2c1 text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afe2c1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afe2c1 in the Color Lab