Skip to content

#afac64

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

RGB
175, 172, 100
HSL
58°, 32%, 54%
CMYK
0, 2, 43, 31
Luminance
0.3954

Every format

HEX#afac64
RGBrgb(175, 172, 100)
HSLhsl(58, 32%, 54%)
CMYKcmyk(0%, 2%, 43%, 31%)
LABlab(69.1 -9.5 37.3)
LCHlch(69.1 38.5 104.3)
OKLCHoklch(0.731 0.094 106.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afac64 on white: 2.36:1
AA ✗ fail · AA-large · AAA
Aa
#afac64 on black: 8.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green67.5%
Blue39.2%

CMYK percentages

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

Color previews

#afac64 text on a black background

contrast 8.91:1

Card sample

#afac64 text on a white background

contrast 2.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afac64

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afac64 in the Color Lab