Skip to content

#afd16f

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

RGB
175, 209, 111
HSL
81°, 52%, 63%
CMYK
16, 0, 47, 18
Luminance
0.5586

Every format

HEX#afd16f
RGBrgb(175, 209, 111)
HSLhsl(81, 52%, 63%)
CMYKcmyk(16%, 0%, 47%, 18%)
LABlab(79.5 -26.9 44.7)
LCHlch(79.5 52.2 121.1)
OKLCHoklch(0.814 0.131 124.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green82.0%
Blue43.5%

CMYK percentages

Cyan16.3%
Magenta0.0%
Yellow46.9%
Key (black)18.0%

Color previews

#afd16f text on a black background

contrast 12.17:1

Card sample

#afd16f text on a white background

contrast 1.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 209, 111, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 209, 111, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afd16f;
background: linear-gradient(135deg, #afd16f, #6FD170);

Monochromatic scale

Palettes built from #afd16f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd16f in the Color Lab