Skip to content

#afe080

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

RGB
175, 224, 128
HSL
91°, 61%, 69%
CMYK
22, 0, 43, 12
Luminance
0.6398

Every format

HEX#afe080
RGBrgb(175, 224, 128)
HSLhsl(91, 61%, 69%)
CMYKcmyk(22%, 0%, 43%, 12%)
LABlab(84.0 -32.0 41.9)
LCHlch(84.0 52.7 127.4)
OKLCHoklch(0.851 0.135 130.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afe080 on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#afe080 on black: 13.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green87.8%
Blue50.2%

CMYK percentages

Cyan21.9%
Magenta0.0%
Yellow42.9%
Key (black)12.2%

Color previews

#afe080 text on a black background

contrast 13.80:1

Card sample

#afe080 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afe080

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afe080 in the Color Lab