Skip to content

#cdf04d

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

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

Every format

HEX#cdf04d
RGBrgb(205, 240, 77)
HSLhsl(73, 85%, 62%)
CMYKcmyk(15%, 0%, 68%, 6%)
LABlab(89.8 -32.6 71.4)
LCHlch(89.8 78.5 114.6)
OKLCHoklch(0.901 0.187 120.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green94.1%
Blue30.2%

CMYK percentages

Cyan14.6%
Magenta0.0%
Yellow67.9%
Key (black)5.9%

Color previews

#cdf04d text on a black background

contrast 16.17:1

Card sample

#cdf04d text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdf04d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf04d in the Color Lab