Skip to content

#afe2c6

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

RGB
175, 226, 198
HSL
147°, 47%, 79%
CMYK
23, 0, 12, 11
Luminance
0.6758

Every format

HEX#afe2c6
RGBrgb(175, 226, 198)
HSLhsl(147, 47%, 79%)
CMYKcmyk(23%, 0%, 12%, 11%)
LABlab(85.8 -22.0 8.4)
LCHlch(85.8 23.5 159.2)
OKLCHoklch(0.870 0.065 160.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green88.6%
Blue77.6%

CMYK percentages

Cyan22.6%
Magenta0.0%
Yellow12.4%
Key (black)11.4%

Color previews

#afe2c6 text on a black background

contrast 14.52:1

Card sample

#afe2c6 text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afe2c6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afe2c6 in the Color Lab