Skip to content

#cdda2c

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

RGB
205, 218, 44
HSL
65°, 70%, 51%
CMYK
6, 0, 80, 15
Luminance
0.6330

Every format

HEX#cdda2c
RGBrgb(205, 218, 44)
HSLhsl(65, 70%, 51%)
CMYKcmyk(6%, 0%, 80%, 15%)
LABlab(83.6 -23.8 76.0)
LCHlch(83.6 79.7 107.4)
OKLCHoklch(0.851 0.181 114.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green85.5%
Blue17.3%

CMYK percentages

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

Color previews

#cdda2c text on a black background

contrast 13.66:1

Card sample

#cdda2c text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdda2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdda2c in the Color Lab