Skip to content

#afc080

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

RGB
175, 192, 128
HSL
76°, 34%, 63%
CMYK
9, 0, 33, 25
Luminance
0.4837

Every format

HEX#afc080
RGBrgb(175, 192, 128)
HSLhsl(76, 34%, 63%)
CMYKcmyk(9%, 0%, 33%, 25%)
LABlab(75.1 -16.5 30.4)
LCHlch(75.1 34.6 118.5)
OKLCHoklch(0.779 0.088 120.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afc080 on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#afc080 on black: 10.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green75.3%
Blue50.2%

CMYK percentages

Cyan8.9%
Magenta0.0%
Yellow33.3%
Key (black)24.7%

Color previews

#afc080 text on a black background

contrast 10.67:1

Card sample

#afc080 text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afc080

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afc080 in the Color Lab