Skip to content

#badc2c

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

RGB
186, 220, 44
HSL
72°, 72%, 52%
CMYK
16, 0, 80, 14
Luminance
0.6181

Every format

HEX#badc2c
RGBrgb(186, 220, 44)
HSLhsl(72, 72%, 52%)
CMYKcmyk(16%, 0%, 80%, 14%)
LABlab(82.8 -32.5 74.8)
LCHlch(82.8 81.6 113.5)
OKLCHoklch(0.841 0.190 120.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#badc2c on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#badc2c on black: 13.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green86.3%
Blue17.3%

CMYK percentages

Cyan15.5%
Magenta0.0%
Yellow80.0%
Key (black)13.7%

Color previews

#badc2c text on a black background

contrast 13.36:1

Card sample

#badc2c text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 220, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 220, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #badc2c;
background: linear-gradient(135deg, #badc2c, #45DC2C);

Monochromatic scale

Palettes built from #badc2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #badc2c in the Color Lab