Skip to content

#cdec21

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

RGB
205, 236, 33
HSL
69°, 84%, 53%
CMYK
13, 0, 86, 8
Luminance
0.7308

Every format

HEX#cdec21
RGBrgb(205, 236, 33)
HSLhsl(69, 84%, 53%)
CMYKcmyk(13%, 0%, 86%, 8%)
LABlab(88.5 -32.6 82.6)
LCHlch(88.5 88.8 111.5)
OKLCHoklch(0.890 0.203 119.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdec21 on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#cdec21 on black: 15.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green92.5%
Blue12.9%

CMYK percentages

Cyan13.1%
Magenta0.0%
Yellow86.0%
Key (black)7.5%

Color previews

#cdec21 text on a black background

contrast 15.62:1

Card sample

#cdec21 text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdec21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdec21 in the Color Lab