Skip to content

#cdf04b

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

RGB
205, 240, 75
HSL
73°, 85%, 62%
CMYK
15, 0, 69, 6
Luminance
0.7581

Every format

HEX#cdf04b
RGBrgb(205, 240, 75)
HSLhsl(73, 85%, 62%)
CMYKcmyk(15%, 0%, 69%, 6%)
LABlab(89.8 -32.8 72.1)
LCHlch(89.8 79.2 114.4)
OKLCHoklch(0.901 0.188 120.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdf04b on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#cdf04b on black: 16.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green94.1%
Blue29.4%

CMYK percentages

Cyan14.6%
Magenta0.0%
Yellow68.7%
Key (black)5.9%

Color previews

#cdf04b text on a black background

contrast 16.16:1

Card sample

#cdf04b text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 240, 75, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 240, 75, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdf04b;
background: linear-gradient(135deg, #cdf04b, #5FF04B);

Monochromatic scale

Palettes built from #cdf04b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf04b in the Color Lab