Skip to content

#afd1af

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

RGB
175, 209, 175
HSL
120°, 27%, 75%
CMYK
16, 0, 16, 18
Luminance
0.5781

Every format

HEX#afd1af
RGBrgb(175, 209, 175)
HSLhsl(120, 27%, 75%)
CMYKcmyk(16%, 0%, 16%, 18%)
LABlab(80.6 -17.8 13.2)
LCHlch(80.6 22.1 143.4)
OKLCHoklch(0.827 0.059 145.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green82.0%
Blue68.6%

CMYK percentages

Cyan16.3%
Magenta0.0%
Yellow16.3%
Key (black)18.0%

Color previews

#afd1af text on a black background

contrast 12.56:1

Card sample

#afd1af text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd1af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd1af in the Color Lab