Skip to content

#afd280

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

RGB
175, 210, 128
HSL
86°, 48%, 66%
CMYK
17, 0, 39, 18
Luminance
0.5677

Every format

HEX#afd280
RGBrgb(175, 210, 128)
HSLhsl(86, 48%, 66%)
CMYKcmyk(17%, 0%, 39%, 18%)
LABlab(80.0 -25.4 36.9)
LCHlch(80.0 44.8 124.5)
OKLCHoklch(0.819 0.114 127.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd280 on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#afd280 on black: 12.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green82.4%
Blue50.2%

CMYK percentages

Cyan16.7%
Magenta0.0%
Yellow39.0%
Key (black)17.6%

Color previews

#afd280 text on a black background

contrast 12.35:1

Card sample

#afd280 text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd280

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd280 in the Color Lab