Skip to content

#cadc21

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

RGB
202, 220, 33
HSL
66°, 74%, 50%
CMYK
8, 0, 85, 14
Luminance
0.6385

Every format

HEX#cadc21
RGBrgb(202, 220, 33)
HSLhsl(66, 74%, 50%)
CMYKcmyk(8%, 0%, 85%, 14%)
LABlab(83.9 -26.3 78.7)
LCHlch(83.9 83.0 108.5)
OKLCHoklch(0.852 0.188 115.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cadc21 on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#cadc21 on black: 13.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green86.3%
Blue12.9%

CMYK percentages

Cyan8.2%
Magenta0.0%
Yellow85.0%
Key (black)13.7%

Color previews

#cadc21 text on a black background

contrast 13.77:1

Card sample

#cadc21 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(202, 220, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(202, 220, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cadc21;
background: linear-gradient(135deg, #cadc21, #4DDC21);

Monochromatic scale

Palettes built from #cadc21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cadc21 in the Color Lab