Skip to content

#afd9af

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

RGB
175, 217, 175
HSL
120°, 36%, 77%
CMYK
19, 0, 19, 15
Luminance
0.6183

Every format

HEX#afd9af
RGBrgb(175, 217, 175)
HSLhsl(120, 36%, 77%)
CMYKcmyk(19%, 0%, 19%, 15%)
LABlab(82.8 -21.7 16.3)
LCHlch(82.8 27.1 143.2)
OKLCHoklch(0.844 0.073 144.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd9af on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#afd9af on black: 13.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green85.1%
Blue68.6%

CMYK percentages

Cyan19.4%
Magenta0.0%
Yellow19.4%
Key (black)14.9%

Color previews

#afd9af text on a black background

contrast 13.37:1

Card sample

#afd9af text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd9af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd9af in the Color Lab