Skip to content

#bacb49

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

RGB
186, 203, 73
HSL
68°, 56%, 54%
CMYK
8, 0, 64, 20
Luminance
0.5363

Every format

HEX#bacb49
RGBrgb(186, 203, 73)
HSLhsl(68, 56%, 54%)
CMYKcmyk(8%, 0%, 64%, 20%)
LABlab(78.3 -23.0 60.6)
LCHlch(78.3 64.8 110.8)
OKLCHoklch(0.805 0.153 116.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bacb49 on white: 1.79:1
AA ✗ fail · AA-large · AAA
Aa
#bacb49 on black: 11.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green79.6%
Blue28.6%

CMYK percentages

Cyan8.4%
Magenta0.0%
Yellow64.0%
Key (black)20.4%

Color previews

#bacb49 text on a black background

contrast 11.73:1

Card sample

#bacb49 text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bacb49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bacb49 in the Color Lab