Skip to content

#badd21

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

RGB
186, 221, 33
HSL
71°, 74%, 50%
CMYK
16, 0, 85, 13
Luminance
0.6226

Every format

HEX#badd21
RGBrgb(186, 221, 33)
HSLhsl(71, 74%, 50%)
CMYKcmyk(16%, 0%, 85%, 13%)
LABlab(83.0 -33.3 77.6)
LCHlch(83.0 84.4 113.2)
OKLCHoklch(0.843 0.195 120.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#badd21 on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#badd21 on black: 13.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green86.7%
Blue12.9%

CMYK percentages

Cyan15.8%
Magenta0.0%
Yellow85.1%
Key (black)13.3%

Color previews

#badd21 text on a black background

contrast 13.45:1

Card sample

#badd21 text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #badd21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #badd21 in the Color Lab