Skip to content

#afd06c

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

RGB
175, 208, 108
HSL
80°, 52%, 62%
CMYK
16, 0, 48, 18
Luminance
0.5531

Every format

HEX#afd06c
RGBrgb(175, 208, 108)
HSLhsl(80, 52%, 62%)
CMYKcmyk(16%, 0%, 48%, 18%)
LABlab(79.2 -26.8 45.8)
LCHlch(79.2 53.0 120.3)
OKLCHoklch(0.812 0.133 124.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green81.6%
Blue42.4%

CMYK percentages

Cyan15.9%
Magenta0.0%
Yellow48.1%
Key (black)18.4%

Color previews

#afd06c text on a black background

contrast 12.06:1

Card sample

#afd06c text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd06c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd06c in the Color Lab