Skip to content

#cdf151

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

RGB
205, 241, 81
HSL
74°, 85%, 63%
CMYK
15, 0, 66, 6
Luminance
0.7648

Every format

HEX#cdf151
RGBrgb(205, 241, 81)
HSLhsl(74, 85%, 63%)
CMYKcmyk(15%, 0%, 66%, 6%)
LABlab(90.1 -32.9 70.2)
LCHlch(90.1 77.5 115.1)
OKLCHoklch(0.903 0.185 121.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdf151 on white: 1.29:1
AA ✗ fail · AA-large · AAA
Aa
#cdf151 on black: 16.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green94.5%
Blue31.8%

CMYK percentages

Cyan14.9%
Magenta0.0%
Yellow66.4%
Key (black)5.5%

Color previews

#cdf151 text on a black background

contrast 16.30:1

Card sample

#cdf151 text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 241, 81, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 241, 81, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdf151;
background: linear-gradient(135deg, #cdf151, #62F151);

Monochromatic scale

Palettes built from #cdf151

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf151 in the Color Lab