Skip to content

#afad64

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

RGB
175, 173, 100
HSL
58°, 32%, 54%
CMYK
0, 1, 43, 31
Luminance
0.3992

Every format

HEX#afad64
RGBrgb(175, 173, 100)
HSLhsl(58, 32%, 54%)
CMYKcmyk(0%, 1%, 43%, 31%)
LABlab(69.4 -10.0 37.7)
LCHlch(69.4 39.0 104.9)
OKLCHoklch(0.733 0.095 107.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afad64 on white: 2.34:1
AA ✗ fail · AA-large · AAA
Aa
#afad64 on black: 8.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green67.8%
Blue39.2%

CMYK percentages

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

Color previews

#afad64 text on a black background

contrast 8.98:1

Card sample

#afad64 text on a white background

contrast 2.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afad64

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afad64 in the Color Lab