Skip to content

#bada2f

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

RGB
186, 218, 47
HSL
71°, 70%, 52%
CMYK
15, 0, 78, 15
Luminance
0.6079

Every format

HEX#bada2f
RGBrgb(186, 218, 47)
HSLhsl(71, 70%, 52%)
CMYKcmyk(15%, 0%, 78%, 15%)
LABlab(82.3 -31.5 73.5)
LCHlch(82.3 80.0 113.2)
OKLCHoklch(0.836 0.186 120.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bada2f on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#bada2f on black: 13.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green85.5%
Blue18.4%

CMYK percentages

Cyan14.7%
Magenta0.0%
Yellow78.4%
Key (black)14.5%

Color previews

#bada2f text on a black background

contrast 13.16:1

Card sample

#bada2f text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 218, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 218, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bada2f;
background: linear-gradient(135deg, #bada2f, #48DA2F);

Monochromatic scale

Palettes built from #bada2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bada2f in the Color Lab