Skip to content

#bacd2d

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

RGB
186, 205, 45
HSL
67°, 64%, 49%
CMYK
9, 0, 78, 20
Luminance
0.5429

Every format

HEX#bacd2d
RGBrgb(186, 205, 45)
HSLhsl(67, 64%, 49%)
CMYKcmyk(9%, 0%, 78%, 20%)
LABlab(78.6 -25.4 70.8)
LCHlch(78.6 75.2 109.7)
OKLCHoklch(0.807 0.173 116.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bacd2d on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#bacd2d on black: 11.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green80.4%
Blue17.6%

CMYK percentages

Cyan9.3%
Magenta0.0%
Yellow78.0%
Key (black)19.6%

Color previews

#bacd2d text on a black background

contrast 11.86:1

Card sample

#bacd2d text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bacd2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bacd2d in the Color Lab