Skip to content

#afd2a2

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

RGB
175, 210, 162
HSL
104°, 35%, 73%
CMYK
17, 0, 23, 18
Luminance
0.5782

Every format

HEX#afd2a2
RGBrgb(175, 210, 162)
HSLhsl(104, 35%, 73%)
CMYKcmyk(17%, 0%, 23%, 18%)
LABlab(80.6 -20.5 20.1)
LCHlch(80.6 28.6 135.6)
OKLCHoklch(0.826 0.075 137.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd2a2 on white: 1.67:1
AA ✗ fail · AA-large · AAA
Aa
#afd2a2 on black: 12.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green82.4%
Blue63.5%

CMYK percentages

Cyan16.7%
Magenta0.0%
Yellow22.9%
Key (black)17.6%

Color previews

#afd2a2 text on a black background

contrast 12.56:1

Card sample

#afd2a2 text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd2a2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd2a2 in the Color Lab