Skip to content

#afd48b

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

RGB
175, 212, 139
HSL
90°, 46%, 69%
CMYK
18, 0, 34, 17
Luminance
0.5807

Every format

HEX#afd48b
RGBrgb(175, 212, 139)
HSLhsl(90, 46%, 69%)
CMYKcmyk(18%, 0%, 34%, 17%)
LABlab(80.8 -24.9 32.2)
LCHlch(80.8 40.7 127.7)
OKLCHoklch(0.826 0.105 130.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green83.1%
Blue54.5%

CMYK percentages

Cyan17.5%
Magenta0.0%
Yellow34.4%
Key (black)16.9%

Color previews

#afd48b text on a black background

contrast 12.61:1

Card sample

#afd48b text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd48b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd48b in the Color Lab