Skip to content

#afd577

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

RGB
175, 213, 119
HSL
84°, 53%, 65%
CMYK
18, 0, 44, 17
Luminance
0.5803

Every format

HEX#afd577
RGBrgb(175, 213, 119)
HSLhsl(84, 53%, 65%)
CMYKcmyk(18%, 0%, 44%, 17%)
LABlab(80.8 -27.9 42.3)
LCHlch(80.8 50.7 123.4)
OKLCHoklch(0.824 0.128 127.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd577 on white: 1.67:1
AA ✗ fail · AA-large · AAA
Aa
#afd577 on black: 12.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green83.5%
Blue46.7%

CMYK percentages

Cyan17.8%
Magenta0.0%
Yellow44.1%
Key (black)16.5%

Color previews

#afd577 text on a black background

contrast 12.61:1

Card sample

#afd577 text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 213, 119, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 213, 119, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afd577;
background: linear-gradient(135deg, #afd577, #77D57E);

Monochromatic scale

Palettes built from #afd577

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd577 in the Color Lab