Skip to content

#afdfb8

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

RGB
175, 223, 184
HSL
131°, 43%, 78%
CMYK
22, 0, 18, 13
Luminance
0.6535

Every format

HEX#afdfb8
RGBrgb(175, 223, 184)
HSLhsl(131, 43%, 78%)
CMYKcmyk(22%, 0%, 18%, 13%)
LABlab(84.7 -23.1 14.1)
LCHlch(84.7 27.1 148.6)
OKLCHoklch(0.859 0.073 150.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green87.5%
Blue72.2%

CMYK percentages

Cyan21.5%
Magenta0.0%
Yellow17.5%
Key (black)12.5%

Color previews

#afdfb8 text on a black background

contrast 14.07:1

Card sample

#afdfb8 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdfb8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdfb8 in the Color Lab