Skip to content

#cdf04c

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

RGB
205, 240, 76
HSL
73°, 85%, 62%
CMYK
15, 0, 68, 6
Luminance
0.7582

Every format

HEX#cdf04c
RGBrgb(205, 240, 76)
HSLhsl(73, 85%, 62%)
CMYKcmyk(15%, 0%, 68%, 6%)
LABlab(89.8 -32.7 71.7)
LCHlch(89.8 78.8 114.5)
OKLCHoklch(0.901 0.187 120.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdf04c on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#cdf04c on black: 16.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green94.1%
Blue29.8%

CMYK percentages

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

Color previews

#cdf04c text on a black background

contrast 16.16:1

Card sample

#cdf04c text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdf04c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf04c in the Color Lab