Skip to content

#cdf20d

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

RGB
205, 242, 13
HSL
70°, 90%, 50%
CMYK
15, 0, 95, 5
Luminance
0.7651

Every format

HEX#cdf20d
RGBrgb(205, 242, 13)
HSLhsl(70, 90%, 50%)
CMYKcmyk(15%, 0%, 95%, 5%)
LABlab(90.1 -35.7 86.7)
LCHlch(90.1 93.7 112.4)
OKLCHoklch(0.902 0.213 120.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdf20d on white: 1.29:1
AA ✗ fail · AA-large · AAA
Aa
#cdf20d on black: 16.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green94.9%
Blue5.1%

CMYK percentages

Cyan15.3%
Magenta0.0%
Yellow94.6%
Key (black)5.1%

Color previews

#cdf20d text on a black background

contrast 16.30:1

Card sample

#cdf20d text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 242, 13, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 242, 13, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdf20d;
background: linear-gradient(135deg, #cdf20d, #34F20D);

Monochromatic scale

Palettes built from #cdf20d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf20d in the Color Lab