Skip to content

#cdfb1d

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

RGB
205, 251, 29
HSL
72°, 97%, 55%
CMYK
18, 0, 88, 2
Luminance
0.8206

Every format

HEX#cdfb1d
RGBrgb(205, 251, 29)
HSLhsl(72, 97%, 55%)
CMYKcmyk(18%, 0%, 88%, 2%)
LABlab(92.6 -39.4 86.7)
LCHlch(92.6 95.2 114.5)
OKLCHoklch(0.923 0.220 122.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdfb1d on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#cdfb1d on black: 17.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green98.4%
Blue11.4%

CMYK percentages

Cyan18.3%
Magenta0.0%
Yellow88.4%
Key (black)1.6%

Color previews

#cdfb1d text on a black background

contrast 17.41:1

Card sample

#cdfb1d text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 251, 29, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 251, 29, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdfb1d;
background: linear-gradient(135deg, #cdfb1d, #39FB1D);

Monochromatic scale

Palettes built from #cdfb1d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdfb1d in the Color Lab