Skip to content

#afe4cb

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

RGB
175, 228, 203
HSL
152°, 50%, 79%
CMYK
23, 0, 11, 11
Luminance
0.6891

Every format

HEX#afe4cb
RGBrgb(175, 228, 203)
HSLhsl(152, 50%, 79%)
CMYKcmyk(23%, 0%, 11%, 11%)
LABlab(86.5 -22.0 6.7)
LCHlch(86.5 23.0 163.1)
OKLCHoklch(0.875 0.065 164.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afe4cb on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#afe4cb on black: 14.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green89.4%
Blue79.6%

CMYK percentages

Cyan23.2%
Magenta0.0%
Yellow11.0%
Key (black)10.6%

Color previews

#afe4cb text on a black background

contrast 14.78:1

Card sample

#afe4cb text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afe4cb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afe4cb in the Color Lab