Skip to content

#cac32c

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

RGB
202, 195, 44
HSL
57°, 64%, 48%
CMYK
0, 4, 78, 21
Luminance
0.5177

Every format

HEX#cac32c
RGBrgb(202, 195, 44)
HSLhsl(57, 64%, 48%)
CMYKcmyk(0%, 4%, 78%, 21%)
LABlab(77.1 -13.7 70.2)
LCHlch(77.1 71.6 101.1)
OKLCHoklch(0.798 0.159 106.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cac32c on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#cac32c on black: 11.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green76.5%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta3.5%
Yellow78.2%
Key (black)20.8%

Color previews

#cac32c text on a black background

contrast 11.35:1

Card sample

#cac32c text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(202, 195, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(202, 195, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cac32c;
background: linear-gradient(135deg, #cac32c, #68CA2C);

Monochromatic scale

Palettes built from #cac32c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cac32c in the Color Lab