Skip to content

#afe2cb

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

RGB
175, 226, 203
HSL
153°, 47%, 79%
CMYK
23, 0, 10, 11
Luminance
0.6782

Every format

HEX#afe2cb
RGBrgb(175, 226, 203)
HSLhsl(153, 47%, 79%)
CMYKcmyk(23%, 0%, 10%, 11%)
LABlab(85.9 -21.0 5.9)
LCHlch(85.9 21.8 164.3)
OKLCHoklch(0.871 0.061 165.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green88.6%
Blue79.6%

CMYK percentages

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

Color previews

#afe2cb text on a black background

contrast 14.56:1

Card sample

#afe2cb text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afe2cb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afe2cb in the Color Lab