Skip to content

#af9764

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

RGB
175, 151, 100
HSL
41°, 32%, 54%
CMYK
0, 14, 43, 31
Luminance
0.3217

Every format

HEX#af9764
RGBrgb(175, 151, 100)
HSLhsl(41, 32%, 54%)
CMYKcmyk(0%, 14%, 43%, 31%)
LABlab(63.5 1.8 30.1)
LCHlch(63.5 30.2 86.7)
OKLCHoklch(0.686 0.074 85.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af9764 on white: 2.83:1
AA ✗ fail · AA-large · AAA
Aa
#af9764 on black: 7.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green59.2%
Blue39.2%

CMYK percentages

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

Color previews

#af9764 text on a black background

contrast 7.43:1

Card sample

#af9764 text on a white background

contrast 2.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af9764

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af9764 in the Color Lab