Skip to content

#badf39

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

RGB
186, 223, 57
HSL
73°, 72%, 55%
CMYK
17, 0, 74, 13
Luminance
0.6351

Every format

HEX#badf39
RGBrgb(186, 223, 57)
HSLhsl(73, 72%, 55%)
CMYKcmyk(17%, 0%, 74%, 13%)
LABlab(83.7 -33.3 71.9)
LCHlch(83.7 79.2 114.9)
OKLCHoklch(0.848 0.187 121.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#badf39 on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#badf39 on black: 13.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green87.5%
Blue22.4%

CMYK percentages

Cyan16.6%
Magenta0.0%
Yellow74.4%
Key (black)12.5%

Color previews

#badf39 text on a black background

contrast 13.70:1

Card sample

#badf39 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #badf39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #badf39 in the Color Lab