Skip to content

#afe2c2

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

RGB
175, 226, 194
HSL
142°, 47%, 79%
CMYK
23, 0, 14, 11
Luminance
0.6740

Every format

HEX#afe2c2
RGBrgb(175, 226, 194)
HSLhsl(142, 47%, 79%)
CMYKcmyk(23%, 0%, 14%, 11%)
LABlab(85.7 -22.7 10.3)
LCHlch(85.7 25.0 155.5)
OKLCHoklch(0.869 0.069 157.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green88.6%
Blue76.1%

CMYK percentages

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

Color previews

#afe2c2 text on a black background

contrast 14.48:1

Card sample

#afe2c2 text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afe2c2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afe2c2 in the Color Lab