Skip to content

#afdfb6

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

RGB
175, 223, 182
HSL
129°, 43%, 78%
CMYK
22, 0, 18, 13
Luminance
0.6527

Every format

HEX#afdfb6
RGBrgb(175, 223, 182)
HSLhsl(129, 43%, 78%)
CMYKcmyk(22%, 0%, 18%, 13%)
LABlab(84.6 -23.4 15.1)
LCHlch(84.6 27.9 147.2)
OKLCHoklch(0.859 0.075 148.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afdfb6 on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#afdfb6 on black: 14.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green87.5%
Blue71.4%

CMYK percentages

Cyan21.5%
Magenta0.0%
Yellow18.4%
Key (black)12.5%

Color previews

#afdfb6 text on a black background

contrast 14.05:1

Card sample

#afdfb6 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdfb6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdfb6 in the Color Lab