Skip to content

#badf2c

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

RGB
186, 223, 44
HSL
72°, 74%, 52%
CMYK
17, 0, 80, 13
Luminance
0.6340

Every format

HEX#badf2c
RGBrgb(186, 223, 44)
HSLhsl(72, 74%, 52%)
CMYKcmyk(17%, 0%, 80%, 13%)
LABlab(83.7 -33.9 75.6)
LCHlch(83.7 82.8 114.2)
OKLCHoklch(0.848 0.193 121.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#badf2c on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#badf2c on black: 13.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green87.5%
Blue17.3%

CMYK percentages

Cyan16.6%
Magenta0.0%
Yellow80.3%
Key (black)12.5%

Color previews

#badf2c text on a black background

contrast 13.68:1

Card sample

#badf2c text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #badf2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #badf2c in the Color Lab