Skip to content

#afe2c5

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

RGB
175, 226, 197
HSL
146°, 47%, 79%
CMYK
23, 0, 13, 11
Luminance
0.6754

Every format

HEX#afe2c5
RGBrgb(175, 226, 197)
HSLhsl(146, 47%, 79%)
CMYKcmyk(23%, 0%, 13%, 11%)
LABlab(85.8 -22.1 8.9)
LCHlch(85.8 23.9 158.2)
OKLCHoklch(0.869 0.066 159.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#afe2c5 text on a black background

contrast 14.51:1

Card sample

#afe2c5 text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afe2c5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afe2c5 in the Color Lab