Skip to content

#afda7d

a light, vivid green · cool · closest name: khaki

RGB
175, 218, 125
HSL
88°, 56%, 67%
CMYK
20, 0, 43, 15
Luminance
0.6074

Every format

HEX#afda7d
RGBrgb(175, 218, 125)
HSLhsl(88, 56%, 67%)
CMYKcmyk(20%, 0%, 43%, 15%)
LABlab(82.2 -29.6 41.2)
LCHlch(82.2 50.7 125.7)
OKLCHoklch(0.837 0.129 129.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afda7d on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#afda7d on black: 13.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green85.5%
Blue49.0%

CMYK percentages

Cyan19.7%
Magenta0.0%
Yellow42.7%
Key (black)14.5%

Color previews

#afda7d text on a black background

contrast 13.15:1

Card sample

#afda7d text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afda7d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afda7d in the Color Lab