Skip to content

#cdf941

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

RGB
205, 249, 65
HSL
74°, 94%, 62%
CMYK
18, 0, 74, 2
Luminance
0.8111

Every format

HEX#cdf941
RGBrgb(205, 249, 65)
HSLhsl(74, 94%, 62%)
CMYKcmyk(18%, 0%, 74%, 2%)
LABlab(92.2 -37.4 77.8)
LCHlch(92.2 86.3 115.7)
OKLCHoklch(0.920 0.204 122.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdf941 on white: 1.22:1
AA ✗ fail · AA-large · AAA
Aa
#cdf941 on black: 17.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green97.6%
Blue25.5%

CMYK percentages

Cyan17.7%
Magenta0.0%
Yellow73.9%
Key (black)2.4%

Color previews

#cdf941 text on a black background

contrast 17.22:1

Card sample

#cdf941 text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 249, 65, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 249, 65, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdf941;
background: linear-gradient(135deg, #cdf941, #53F941);

Monochromatic scale

Palettes built from #cdf941

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf941 in the Color Lab