Skip to content

#cdf45c

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

RGB
205, 244, 92
HSL
75°, 87%, 66%
CMYK
16, 0, 62, 4
Luminance
0.7845

Every format

HEX#cdf45c
RGBrgb(205, 244, 92)
HSLhsl(75, 87%, 66%)
CMYKcmyk(16%, 0%, 62%, 4%)
LABlab(91.0 -33.5 66.9)
LCHlch(91.0 74.8 116.6)
OKLCHoklch(0.911 0.181 122.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green95.7%
Blue36.1%

CMYK percentages

Cyan16.0%
Magenta0.0%
Yellow62.3%
Key (black)4.3%

Color previews

#cdf45c text on a black background

contrast 16.69:1

Card sample

#cdf45c text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdf45c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf45c in the Color Lab