Skip to content

#afdfb3

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

RGB
175, 223, 179
HSL
125°, 43%, 78%
CMYK
22, 0, 20, 13
Luminance
0.6514

Every format

HEX#afdfb3
RGBrgb(175, 223, 179)
HSLhsl(125, 43%, 78%)
CMYKcmyk(22%, 0%, 20%, 13%)
LABlab(84.6 -24.0 16.6)
LCHlch(84.6 29.1 145.3)
OKLCHoklch(0.858 0.078 147.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afdfb3 on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#afdfb3 on black: 14.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green87.5%
Blue70.2%

CMYK percentages

Cyan21.5%
Magenta0.0%
Yellow19.7%
Key (black)12.5%

Color previews

#afdfb3 text on a black background

contrast 14.03:1

Card sample

#afdfb3 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdfb3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdfb3 in the Color Lab