Skip to content

#afdec8

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

RGB
175, 222, 200
HSL
152°, 42%, 78%
CMYK
21, 0, 10, 13
Luminance
0.6553

Every format

HEX#afdec8
RGBrgb(175, 222, 200)
HSLhsl(152, 42%, 78%)
CMYKcmyk(21%, 0%, 10%, 13%)
LABlab(84.8 -19.6 5.8)
LCHlch(84.8 20.4 163.5)
OKLCHoklch(0.861 0.058 164.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afdec8 on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#afdec8 on black: 14.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green87.1%
Blue78.4%

CMYK percentages

Cyan21.2%
Magenta0.0%
Yellow9.9%
Key (black)12.9%

Color previews

#afdec8 text on a black background

contrast 14.11:1

Card sample

#afdec8 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdec8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdec8 in the Color Lab