Skip to content

#cdf254

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

RGB
205, 242, 84
HSL
74°, 86%, 64%
CMYK
15, 0, 65, 5
Luminance
0.7712

Every format

HEX#cdf254
RGBrgb(205, 242, 84)
HSLhsl(74, 86%, 64%)
CMYKcmyk(15%, 0%, 65%, 5%)
LABlab(90.4 -33.1 69.4)
LCHlch(90.4 76.9 115.5)
OKLCHoklch(0.906 0.184 121.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdf254 on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#cdf254 on black: 16.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green94.9%
Blue32.9%

CMYK percentages

Cyan15.3%
Magenta0.0%
Yellow65.3%
Key (black)5.1%

Color previews

#cdf254 text on a black background

contrast 16.42:1

Card sample

#cdf254 text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 242, 84, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 242, 84, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdf254;
background: linear-gradient(135deg, #cdf254, #63F254);

Monochromatic scale

Palettes built from #cdf254

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf254 in the Color Lab