Skip to content

#bacb2c

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

RGB
186, 203, 44
HSL
66°, 64%, 48%
CMYK
8, 0, 78, 20
Luminance
0.5333

Every format

HEX#bacb2c
RGBrgb(186, 203, 44)
HSLhsl(66, 64%, 48%)
CMYKcmyk(8%, 0%, 78%, 20%)
LABlab(78.1 -24.5 70.6)
LCHlch(78.1 74.7 109.1)
OKLCHoklch(0.803 0.171 115.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bacb2c on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#bacb2c on black: 11.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green79.6%
Blue17.3%

CMYK percentages

Cyan8.4%
Magenta0.0%
Yellow78.3%
Key (black)20.4%

Color previews

#bacb2c text on a black background

contrast 11.67:1

Card sample

#bacb2c text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bacb2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bacb2c in the Color Lab