Skip to content

#afcc80

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

RGB
175, 204, 128
HSL
83°, 43%, 65%
CMYK
14, 0, 37, 20
Luminance
0.5386

Every format

HEX#afcc80
RGBrgb(175, 204, 128)
HSLhsl(83, 43%, 65%)
CMYKcmyk(14%, 0%, 37%, 20%)
LABlab(78.4 -22.5 34.7)
LCHlch(78.4 41.4 122.9)
OKLCHoklch(0.806 0.105 125.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afcc80 on white: 1.78:1
AA ✗ fail · AA-large · AAA
Aa
#afcc80 on black: 11.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green80.0%
Blue50.2%

CMYK percentages

Cyan14.2%
Magenta0.0%
Yellow37.3%
Key (black)20.0%

Color previews

#afcc80 text on a black background

contrast 11.77:1

Card sample

#afcc80 text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afcc80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afcc80 in the Color Lab