Skip to content

#afda7f

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

RGB
175, 218, 127
HSL
88°, 55%, 68%
CMYK
20, 0, 42, 15
Luminance
0.6079

Every format

HEX#afda7f
RGBrgb(175, 218, 127)
HSLhsl(88, 55%, 68%)
CMYKcmyk(20%, 0%, 42%, 15%)
LABlab(82.3 -29.4 40.2)
LCHlch(82.3 49.8 126.1)
OKLCHoklch(0.837 0.127 129.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green85.5%
Blue49.8%

CMYK percentages

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

Color previews

#afda7f text on a black background

contrast 13.16:1

Card sample

#afda7f text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afda7f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afda7f in the Color Lab