Skip to content

#ccda21

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

RGB
204, 218, 33
HSL
65°, 74%, 49%
CMYK
6, 0, 85, 15
Luminance
0.6309

Every format

HEX#ccda21
RGBrgb(204, 218, 33)
HSLhsl(65, 74%, 49%)
CMYKcmyk(6%, 0%, 85%, 15%)
LABlab(83.5 -24.5 78.5)
LCHlch(83.5 82.2 107.4)
OKLCHoklch(0.849 0.185 114.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccda21 on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#ccda21 on black: 13.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green85.5%
Blue12.9%

CMYK percentages

Cyan6.4%
Magenta0.0%
Yellow84.9%
Key (black)14.5%

Color previews

#ccda21 text on a black background

contrast 13.62:1

Card sample

#ccda21 text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 218, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 218, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccda21;
background: linear-gradient(135deg, #ccda21, #51DA21);

Monochromatic scale

Palettes built from #ccda21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccda21 in the Color Lab