Skip to content

#cacb2c

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

RGB
202, 203, 44
HSL
60°, 64%, 48%
CMYK
1, 0, 78, 20
Luminance
0.5545

Every format

HEX#cacb2c
RGBrgb(202, 203, 44)
HSLhsl(60, 64%, 48%)
CMYKcmyk(1%, 0%, 78%, 20%)
LABlab(79.3 -17.7 72.2)
LCHlch(79.3 74.3 103.8)
OKLCHoklch(0.816 0.167 110.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cacb2c on white: 1.74:1
AA ✗ fail · AA-large · AAA
Aa
#cacb2c on black: 12.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green79.6%
Blue17.3%

CMYK percentages

Cyan0.5%
Magenta0.0%
Yellow78.3%
Key (black)20.4%

Color previews

#cacb2c text on a black background

contrast 12.09:1

Card sample

#cacb2c text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cacb2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cacb2c in the Color Lab