Skip to content

#caca22

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

RGB
202, 202, 34
HSL
60°, 71%, 46%
CMYK
0, 0, 83, 21
Luminance
0.5491

Every format

HEX#caca22
RGBrgb(202, 202, 34)
HSLhsl(60, 71%, 46%)
CMYKcmyk(0%, 0%, 83%, 21%)
LABlab(79.0 -17.6 74.5)
LCHlch(79.0 76.5 103.3)
OKLCHoklch(0.813 0.170 109.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#caca22 on white: 1.75:1
AA ✗ fail · AA-large · AAA
Aa
#caca22 on black: 11.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green79.2%
Blue13.3%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow83.2%
Key (black)20.8%

Color previews

#caca22 text on a black background

contrast 11.98:1

Card sample

#caca22 text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #caca22

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #caca22 in the Color Lab