Skip to content

#afd06f

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

RGB
175, 208, 111
HSL
80°, 51%, 63%
CMYK
16, 0, 47, 18
Luminance
0.5537

Every format

HEX#afd06f
RGBrgb(175, 208, 111)
HSLhsl(80, 51%, 63%)
CMYKcmyk(16%, 0%, 47%, 18%)
LABlab(79.3 -26.4 44.4)
LCHlch(79.3 51.6 120.8)
OKLCHoklch(0.812 0.130 124.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd06f on white: 1.74:1
AA ✗ fail · AA-large · AAA
Aa
#afd06f on black: 12.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green81.6%
Blue43.5%

CMYK percentages

Cyan15.9%
Magenta0.0%
Yellow46.6%
Key (black)18.4%

Color previews

#afd06f text on a black background

contrast 12.07:1

Card sample

#afd06f text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd06f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd06f in the Color Lab