Skip to content

#cefb21

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

RGB
206, 251, 33
HSL
72°, 97%, 56%
CMYK
18, 0, 87, 2
Luminance
0.8223

Every format

HEX#cefb21
RGBrgb(206, 251, 33)
HSLhsl(72, 97%, 56%)
CMYKcmyk(18%, 0%, 87%, 2%)
LABlab(92.7 -39.0 86.1)
LCHlch(92.7 94.5 114.4)
OKLCHoklch(0.924 0.218 122.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan17.9%
Magenta0.0%
Yellow86.9%
Key (black)1.6%

Color previews

#cefb21 text on a black background

contrast 17.45:1

Card sample

#cefb21 text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cefb21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cefb21 in the Color Lab