Skip to content

#cdf45d

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

RGB
205, 244, 93
HSL
76°, 87%, 66%
CMYK
16, 0, 62, 4
Luminance
0.7847

Every format

HEX#cdf45d
RGBrgb(205, 244, 93)
HSLhsl(76, 87%, 66%)
CMYKcmyk(16%, 0%, 62%, 4%)
LABlab(91.0 -33.5 66.5)
LCHlch(91.0 74.4 116.7)
OKLCHoklch(0.911 0.180 122.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdf45d on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#cdf45d on black: 16.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green95.7%
Blue36.5%

CMYK percentages

Cyan16.0%
Magenta0.0%
Yellow61.9%
Key (black)4.3%

Color previews

#cdf45d text on a black background

contrast 16.69:1

Card sample

#cdf45d text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 244, 93, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 244, 93, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdf45d;
background: linear-gradient(135deg, #cdf45d, #68F45D);

Monochromatic scale

Palettes built from #cdf45d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf45d in the Color Lab