Skip to content

#cdfb2c

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

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

Every format

HEX#cdfb2c
RGBrgb(205, 251, 44)
HSLhsl(73, 96%, 58%)
CMYKcmyk(18%, 0%, 83%, 2%)
LABlab(92.6 -39.1 83.9)
LCHlch(92.6 92.5 115.0)
OKLCHoklch(0.923 0.215 122.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green98.4%
Blue17.3%

CMYK percentages

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

Color previews

#cdfb2c text on a black background

contrast 17.43:1

Card sample

#cdfb2c text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdfb2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdfb2c in the Color Lab