Skip to content

#cdda2b

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

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

Every format

HEX#cdda2b
RGBrgb(205, 218, 43)
HSLhsl(65, 70%, 51%)
CMYKcmyk(6%, 0%, 80%, 15%)
LABlab(83.6 -23.8 76.3)
LCHlch(83.6 79.9 107.4)
OKLCHoklch(0.851 0.181 114.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green85.5%
Blue16.9%

CMYK percentages

Cyan6.0%
Magenta0.0%
Yellow80.3%
Key (black)14.5%

Color previews

#cdda2b text on a black background

contrast 13.66:1

Card sample

#cdda2b text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdda2b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdda2b in the Color Lab