Skip to content

#afd28d

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

RGB
175, 210, 141
HSL
90°, 43%, 69%
CMYK
17, 0, 33, 18
Luminance
0.5713

Every format

HEX#afd28d
RGBrgb(175, 210, 141)
HSLhsl(90, 43%, 69%)
CMYKcmyk(17%, 0%, 33%, 18%)
LABlab(80.3 -23.6 30.5)
LCHlch(80.3 38.6 127.8)
OKLCHoklch(0.821 0.100 130.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd28d on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#afd28d on black: 12.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green82.4%
Blue55.3%

CMYK percentages

Cyan16.7%
Magenta0.0%
Yellow32.9%
Key (black)17.6%

Color previews

#afd28d text on a black background

contrast 12.43:1

Card sample

#afd28d text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd28d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd28d in the Color Lab