Skip to content

#cdfb2d

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

RGB
205, 251, 45
HSL
73°, 96%, 58%
CMYK
18, 0, 82, 2
Luminance
0.8216

Every format

HEX#cdfb2d
RGBrgb(205, 251, 45)
HSLhsl(73, 96%, 58%)
CMYKcmyk(18%, 0%, 82%, 2%)
LABlab(92.7 -39.0 83.6)
LCHlch(92.7 92.3 115.0)
OKLCHoklch(0.923 0.215 122.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdfb2d on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#cdfb2d on black: 17.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green98.4%
Blue17.6%

CMYK percentages

Cyan18.3%
Magenta0.0%
Yellow82.1%
Key (black)1.6%

Color previews

#cdfb2d text on a black background

contrast 17.43:1

Card sample

#cdfb2d text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdfb2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdfb2d in the Color Lab