Skip to content

#cdf01c

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

RGB
205, 240, 28
HSL
70°, 88%, 53%
CMYK
15, 0, 88, 6
Luminance
0.7538

Every format

HEX#cdf01c
RGBrgb(205, 240, 28)
HSLhsl(70, 88%, 53%)
CMYKcmyk(15%, 0%, 88%, 6%)
LABlab(89.6 -34.5 84.4)
LCHlch(89.6 91.2 112.2)
OKLCHoklch(0.898 0.208 119.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdf01c on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#cdf01c on black: 16.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green94.1%
Blue11.0%

CMYK percentages

Cyan14.6%
Magenta0.0%
Yellow88.3%
Key (black)5.9%

Color previews

#cdf01c text on a black background

contrast 16.08:1

Card sample

#cdf01c text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdf01c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf01c in the Color Lab