Skip to content

#cdf30f

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

RGB
205, 243, 15
HSL
70°, 91%, 51%
CMYK
16, 0, 94, 5
Luminance
0.7711

Every format

HEX#cdf30f
RGBrgb(205, 243, 15)
HSLhsl(70, 91%, 51%)
CMYKcmyk(16%, 0%, 94%, 5%)
LABlab(90.4 -36.1 86.7)
LCHlch(90.4 93.9 112.6)
OKLCHoklch(0.905 0.214 120.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdf30f on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#cdf30f on black: 16.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green95.3%
Blue5.9%

CMYK percentages

Cyan15.6%
Magenta0.0%
Yellow93.8%
Key (black)4.7%

Color previews

#cdf30f text on a black background

contrast 16.42:1

Card sample

#cdf30f text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 243, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 243, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdf30f;
background: linear-gradient(135deg, #cdf30f, #35F30F);

Monochromatic scale

Palettes built from #cdf30f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf30f in the Color Lab