Skip to content

#cdf300

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

RGB
205, 243, 0
HSL
69°, 100%, 48%
CMYK
16, 0, 100, 5
Luminance
0.7708

Every format

HEX#cdf300
RGBrgb(205, 243, 0)
HSLhsl(69, 100%, 48%)
CMYKcmyk(16%, 0%, 100%, 5%)
LABlab(90.4 -36.2 87.8)
LCHlch(90.4 95.0 112.4)
OKLCHoklch(0.905 0.216 120.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdf300 on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#cdf300 on black: 16.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green95.3%
Blue0.0%

CMYK percentages

Cyan15.6%
Magenta0.0%
Yellow100.0%
Key (black)4.7%

Color previews

#cdf300 text on a black background

contrast 16.42:1

Card sample

#cdf300 text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 243, 0, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 243, 0, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdf300;
background: linear-gradient(135deg, #cdf300, #2BF300);

Monochromatic scale

Palettes built from #cdf300

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf300 in the Color Lab