Skip to content

#cdda2d

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

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

Every format

HEX#cdda2d
RGBrgb(205, 218, 45)
HSLhsl(65, 70%, 52%)
CMYKcmyk(6%, 0%, 79%, 15%)
LABlab(83.6 -23.8 75.8)
LCHlch(83.6 79.4 107.4)
OKLCHoklch(0.851 0.180 114.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green85.5%
Blue17.6%

CMYK percentages

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

Color previews

#cdda2d text on a black background

contrast 13.66:1

Card sample

#cdda2d text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdda2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdda2d in the Color Lab