Skip to content

#afcc99

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

RGB
175, 204, 153
HSL
94°, 33%, 70%
CMYK
14, 0, 25, 20
Luminance
0.5460

Every format

HEX#afcc99
RGBrgb(175, 204, 153)
HSLhsl(94, 33%, 70%)
CMYKcmyk(14%, 0%, 25%, 20%)
LABlab(78.8 -18.9 22.3)
LCHlch(78.8 29.2 130.3)
OKLCHoklch(0.811 0.076 132.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afcc99 on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#afcc99 on black: 11.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green80.0%
Blue60.0%

CMYK percentages

Cyan14.2%
Magenta0.0%
Yellow25.0%
Key (black)20.0%

Color previews

#afcc99 text on a black background

contrast 11.92:1

Card sample

#afcc99 text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 204, 153, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 204, 153, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afcc99;
background: linear-gradient(135deg, #afcc99, #99CCA5);

Monochromatic scale

Palettes built from #afcc99

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afcc99 in the Color Lab