Skip to content

#cdfb48

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

RGB
205, 251, 72
HSL
75°, 96%, 63%
CMYK
18, 0, 71, 2
Luminance
0.8244

Every format

HEX#cdfb48
RGBrgb(205, 251, 72)
HSLhsl(75, 96%, 63%)
CMYKcmyk(18%, 0%, 71%, 2%)
LABlab(92.8 -37.9 76.1)
LCHlch(92.8 85.0 116.5)
OKLCHoklch(0.925 0.203 123.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green98.4%
Blue28.2%

CMYK percentages

Cyan18.3%
Magenta0.0%
Yellow71.3%
Key (black)1.6%

Color previews

#cdfb48 text on a black background

contrast 17.49:1

Card sample

#cdfb48 text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdfb48

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdfb48 in the Color Lab