Skip to content

#cefc21

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

RGB
206, 252, 33
HSL
73°, 97%, 56%
CMYK
18, 0, 87, 1
Luminance
0.8285

Every format

HEX#cefc21
RGBrgb(206, 252, 33)
HSLhsl(73, 97%, 56%)
CMYKcmyk(18%, 0%, 87%, 1%)
LABlab(93.0 -39.4 86.3)
LCHlch(93.0 94.9 114.5)
OKLCHoklch(0.926 0.219 122.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green98.8%
Blue12.9%

CMYK percentages

Cyan18.3%
Magenta0.0%
Yellow86.9%
Key (black)1.2%

Color previews

#cefc21 text on a black background

contrast 17.57:1

Card sample

#cefc21 text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(206, 252, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 252, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cefc21;
background: linear-gradient(135deg, #cefc21, #3CFC21);

Monochromatic scale

Palettes built from #cefc21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cefc21 in the Color Lab