Skip to content

#cdf92d

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

RGB
205, 249, 45
HSL
73°, 94%, 58%
CMYK
18, 0, 82, 2
Luminance
0.8092

Every format

HEX#cdf92d
RGBrgb(205, 249, 45)
HSLhsl(73, 94%, 58%)
CMYKcmyk(18%, 0%, 82%, 2%)
LABlab(92.1 -38.1 83.2)
LCHlch(92.1 91.5 114.6)
OKLCHoklch(0.919 0.213 122.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green97.6%
Blue17.6%

CMYK percentages

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

Color previews

#cdf92d text on a black background

contrast 17.18:1

Card sample

#cdf92d text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdf92d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf92d in the Color Lab