Skip to content

#ccda2d

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

RGB
204, 218, 45
HSL
65°, 70%, 52%
CMYK
6, 0, 79, 15
Luminance
0.6317

Every format

HEX#ccda2d
RGBrgb(204, 218, 45)
HSLhsl(65, 70%, 52%)
CMYKcmyk(6%, 0%, 79%, 15%)
LABlab(83.5 -24.2 75.7)
LCHlch(83.5 79.4 107.7)
OKLCHoklch(0.850 0.181 114.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green85.5%
Blue17.6%

CMYK percentages

Cyan6.4%
Magenta0.0%
Yellow79.4%
Key (black)14.5%

Color previews

#ccda2d text on a black background

contrast 13.63:1

Card sample

#ccda2d text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccda2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccda2d in the Color Lab