Skip to content

#afcc72

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

RGB
175, 204, 114
HSL
79°, 47%, 62%
CMYK
14, 0, 44, 20
Luminance
0.5351

Every format

HEX#afcc72
RGBrgb(175, 204, 114)
HSLhsl(79, 47%, 62%)
CMYKcmyk(14%, 0%, 44%, 20%)
LABlab(78.2 -24.2 41.5)
LCHlch(78.2 48.0 120.2)
OKLCHoklch(0.803 0.121 123.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afcc72 on white: 1.79:1
AA ✗ fail · AA-large · AAA
Aa
#afcc72 on black: 11.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green80.0%
Blue44.7%

CMYK percentages

Cyan14.2%
Magenta0.0%
Yellow44.1%
Key (black)20.0%

Color previews

#afcc72 text on a black background

contrast 11.70:1

Card sample

#afcc72 text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afcc72

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afcc72 in the Color Lab