Skip to content

#bada2c

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

RGB
186, 218, 44
HSL
71°, 70%, 51%
CMYK
15, 0, 80, 15
Luminance
0.6076

Every format

HEX#bada2c
RGBrgb(186, 218, 44)
HSLhsl(71, 70%, 51%)
CMYKcmyk(15%, 0%, 80%, 15%)
LABlab(82.3 -31.6 74.3)
LCHlch(82.3 80.8 113.0)
OKLCHoklch(0.836 0.187 120.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red72.9%
Green85.5%
Blue17.3%

CMYK percentages

Cyan14.7%
Magenta0.0%
Yellow79.8%
Key (black)14.5%

Color previews

#bada2c text on a black background

contrast 13.15:1

Card sample

#bada2c text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bada2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bada2c in the Color Lab