Skip to content

#caac49

a balanced, vivid yellow · cool · closest name: khaki

RGB
202, 172, 73
HSL
46°, 55%, 54%
CMYK
0, 15, 64, 21
Luminance
0.4254

Every format

HEX#caac49
RGBrgb(202, 172, 73)
HSLhsl(46, 55%, 54%)
CMYKcmyk(0%, 15%, 64%, 21%)
LABlab(71.2 -0.4 53.5)
LCHlch(71.2 53.5 90.4)
OKLCHoklch(0.752 0.122 92.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#caac49 on white: 2.21:1
AA ✗ fail · AA-large · AAA
Aa
#caac49 on black: 9.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green67.5%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta14.9%
Yellow63.9%
Key (black)20.8%

Color previews

#caac49 text on a black background

contrast 9.51:1

Card sample

#caac49 text on a white background

contrast 2.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(202, 172, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(202, 172, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #caac49;
background: linear-gradient(135deg, #caac49, #92CA49);

Monochromatic scale

Palettes built from #caac49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #caac49 in the Color Lab