Skip to content

#cdf02c

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

RGB
205, 240, 44
HSL
71°, 87%, 56%
CMYK
15, 0, 82, 6
Luminance
0.7548

Every format

HEX#cdf02c
RGBrgb(205, 240, 44)
HSLhsl(71, 87%, 56%)
CMYKcmyk(15%, 0%, 82%, 6%)
LABlab(89.6 -34.1 81.3)
LCHlch(89.6 88.1 112.8)
OKLCHoklch(0.899 0.204 120.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green94.1%
Blue17.3%

CMYK percentages

Cyan14.6%
Magenta0.0%
Yellow81.7%
Key (black)5.9%

Color previews

#cdf02c text on a black background

contrast 16.10:1

Card sample

#cdf02c text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdf02c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf02c in the Color Lab