Skip to content

#badf49

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

RGB
186, 223, 73
HSL
75°, 70%, 58%
CMYK
17, 0, 67, 13
Luminance
0.6370

Every format

HEX#badf49
RGBrgb(186, 223, 73)
HSLhsl(75, 70%, 58%)
CMYKcmyk(17%, 0%, 67%, 13%)
LABlab(83.8 -32.5 66.4)
LCHlch(83.8 73.9 116.1)
OKLCHoklch(0.849 0.177 122.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red72.9%
Green87.5%
Blue28.6%

CMYK percentages

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

Color previews

#badf49 text on a black background

contrast 13.74:1

Card sample

#badf49 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #badf49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #badf49 in the Color Lab