Skip to content

#caaf79

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

RGB
202, 175, 121
HSL
40°, 43%, 63%
CMYK
0, 13, 40, 21
Luminance
0.4460

Every format

HEX#caaf79
RGBrgb(202, 175, 121)
HSLhsl(40, 43%, 63%)
CMYKcmyk(0%, 13%, 40%, 21%)
LABlab(72.6 2.2 31.3)
LCHlch(72.6 31.4 85.9)
OKLCHoklch(0.765 0.078 84.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#caaf79 on white: 2.12:1
AA ✗ fail · AA-large · AAA
Aa
#caaf79 on black: 9.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green68.6%
Blue47.5%

CMYK percentages

Cyan0.0%
Magenta13.4%
Yellow40.1%
Key (black)20.8%

Color previews

#caaf79 text on a black background

contrast 9.92:1

Card sample

#caaf79 text on a white background

contrast 2.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(202, 175, 121, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(202, 175, 121, 0.45);
Border & gradient
Gradient panel
border: 3px solid #caaf79;
background: linear-gradient(135deg, #caaf79, #AFCA79);

Monochromatic scale

Palettes built from #caaf79

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #caaf79 in the Color Lab