Skip to content

#cdf004

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

RGB
205, 240, 4
HSL
69°, 97%, 48%
CMYK
15, 0, 98, 6
Luminance
0.7531

Every format

HEX#cdf004
RGBrgb(205, 240, 4)
HSLhsl(69, 97%, 48%)
CMYKcmyk(15%, 0%, 98%, 6%)
LABlab(89.5 -34.8 86.9)
LCHlch(89.5 93.7 111.8)
OKLCHoklch(0.898 0.212 119.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdf004 on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#cdf004 on black: 16.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green94.1%
Blue1.6%

CMYK percentages

Cyan14.6%
Magenta0.0%
Yellow98.3%
Key (black)5.9%

Color previews

#cdf004 text on a black background

contrast 16.06:1

Card sample

#cdf004 text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 240, 4, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 240, 4, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdf004;
background: linear-gradient(135deg, #cdf004, #30F004);

Monochromatic scale

Palettes built from #cdf004

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf004 in the Color Lab