Skip to content

#afdcab

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

RGB
175, 220, 171
HSL
115°, 41%, 77%
CMYK
21, 0, 22, 14
Luminance
0.6324

Every format

HEX#afdcab
RGBrgb(175, 220, 171)
HSLhsl(115, 41%, 77%)
CMYKcmyk(21%, 0%, 22%, 14%)
LABlab(83.6 -23.9 19.4)
LCHlch(83.6 30.8 140.9)
OKLCHoklch(0.850 0.082 142.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afdcab on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#afdcab on black: 13.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green86.3%
Blue67.1%

CMYK percentages

Cyan20.5%
Magenta0.0%
Yellow22.3%
Key (black)13.7%

Color previews

#afdcab text on a black background

contrast 13.65:1

Card sample

#afdcab text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdcab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdcab in the Color Lab