Skip to content

#cdf804

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

RGB
205, 248, 4
HSL
71°, 97%, 49%
CMYK
17, 0, 98, 3
Luminance
0.8012

Every format

HEX#cdf804
RGBrgb(205, 248, 4)
HSLhsl(71, 97%, 49%)
CMYKcmyk(17%, 0%, 98%, 3%)
LABlab(91.7 -38.4 88.6)
LCHlch(91.7 96.6 113.5)
OKLCHoklch(0.916 0.221 121.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdf804 on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#cdf804 on black: 17.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green97.3%
Blue1.6%

CMYK percentages

Cyan17.3%
Magenta0.0%
Yellow98.4%
Key (black)2.7%

Color previews

#cdf804 text on a black background

contrast 17.02:1

Card sample

#cdf804 text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdf804

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf804 in the Color Lab