Skip to content

#cdef21

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

RGB
205, 239, 33
HSL
70°, 87%, 53%
CMYK
14, 0, 86, 6
Luminance
0.7482

Every format

HEX#cdef21
RGBrgb(205, 239, 33)
HSLhsl(70, 87%, 53%)
CMYKcmyk(14%, 0%, 86%, 6%)
LABlab(89.3 -34.0 83.3)
LCHlch(89.3 90.0 112.2)
OKLCHoklch(0.896 0.206 119.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdef21 on white: 1.32:1
AA ✗ fail · AA-large · AAA
Aa
#cdef21 on black: 15.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green93.7%
Blue12.9%

CMYK percentages

Cyan14.2%
Magenta0.0%
Yellow86.2%
Key (black)6.3%

Color previews

#cdef21 text on a black background

contrast 15.96:1

Card sample

#cdef21 text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdef21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdef21 in the Color Lab