Skip to content

#afad80

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

RGB
175, 173, 128
HSL
57°, 23%, 59%
CMYK
0, 1, 27, 31
Luminance
0.4056

Every format

HEX#afad80
RGBrgb(175, 173, 128)
HSLhsl(57, 23%, 59%)
CMYKcmyk(0%, 1%, 27%, 31%)
LABlab(69.9 -6.6 23.4)
LCHlch(69.9 24.4 105.8)
OKLCHoklch(0.738 0.061 105.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afad80 on white: 2.30:1
AA ✗ fail · AA-large · AAA
Aa
#afad80 on black: 9.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green67.8%
Blue50.2%

CMYK percentages

Cyan0.0%
Magenta1.1%
Yellow26.9%
Key (black)31.4%

Color previews

#afad80 text on a black background

contrast 9.11:1

Card sample

#afad80 text on a white background

contrast 2.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afad80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afad80 in the Color Lab