Skip to content

#badb49

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

RGB
186, 219, 73
HSL
74°, 67%, 57%
CMYK
15, 0, 67, 14
Luminance
0.6158

Every format

HEX#badb49
RGBrgb(186, 219, 73)
HSLhsl(74, 67%, 57%)
CMYKcmyk(15%, 0%, 67%, 14%)
LABlab(82.7 -30.6 65.2)
LCHlch(82.7 72.1 115.1)
OKLCHoklch(0.840 0.172 121.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#badb49 on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#badb49 on black: 13.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green85.9%
Blue28.6%

CMYK percentages

Cyan15.1%
Magenta0.0%
Yellow66.7%
Key (black)14.1%

Color previews

#badb49 text on a black background

contrast 13.32:1

Card sample

#badb49 text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #badb49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #badb49 in the Color Lab