Skip to content

#bac749

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

RGB
186, 199, 73
HSL
66°, 53%, 53%
CMYK
7, 0, 63, 22
Luminance
0.5177

Every format

HEX#bac749
RGBrgb(186, 199, 73)
HSLhsl(66, 53%, 53%)
CMYKcmyk(7%, 0%, 63%, 22%)
LABlab(77.1 -21.0 59.4)
LCHlch(77.1 63.0 109.5)
OKLCHoklch(0.796 0.149 114.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bac749 on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#bac749 on black: 11.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green78.0%
Blue28.6%

CMYK percentages

Cyan6.5%
Magenta0.0%
Yellow63.3%
Key (black)22.0%

Color previews

#bac749 text on a black background

contrast 11.35:1

Card sample

#bac749 text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bac749

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bac749 in the Color Lab