Skip to content

#afd080

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

RGB
175, 208, 128
HSL
85°, 46%, 66%
CMYK
16, 0, 39, 18
Luminance
0.5578

Every format

HEX#afd080
RGBrgb(175, 208, 128)
HSLhsl(85, 46%, 66%)
CMYKcmyk(16%, 0%, 39%, 18%)
LABlab(79.5 -24.4 36.2)
LCHlch(79.5 43.6 124.0)
OKLCHoklch(0.815 0.111 127.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd080 on white: 1.73:1
AA ✗ fail · AA-large · AAA
Aa
#afd080 on black: 12.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green81.6%
Blue50.2%

CMYK percentages

Cyan15.9%
Magenta0.0%
Yellow38.5%
Key (black)18.4%

Color previews

#afd080 text on a black background

contrast 12.16:1

Card sample

#afd080 text on a white background

contrast 1.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 208, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 208, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afd080;
background: linear-gradient(135deg, #afd080, #80D086);

Monochromatic scale

Palettes built from #afd080

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd080 in the Color Lab