Skip to content

#afba80

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

RGB
175, 186, 128
HSL
71°, 30%, 62%
CMYK
6, 0, 31, 27
Luminance
0.4579

Every format

HEX#afba80
RGBrgb(175, 186, 128)
HSLhsl(71, 30%, 62%)
CMYKcmyk(6%, 0%, 31%, 27%)
LABlab(73.4 -13.4 28.2)
LCHlch(73.4 31.2 115.4)
OKLCHoklch(0.766 0.079 117.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afba80 on white: 2.07:1
AA ✗ fail · AA-large · AAA
Aa
#afba80 on black: 10.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green72.9%
Blue50.2%

CMYK percentages

Cyan5.9%
Magenta0.0%
Yellow31.2%
Key (black)27.1%

Color previews

#afba80 text on a black background

contrast 10.16:1

Card sample

#afba80 text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afba80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afba80 in the Color Lab