Skip to content

#bacf49

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

RGB
186, 207, 73
HSL
69°, 58%, 55%
CMYK
10, 0, 65, 19
Luminance
0.5555

Every format

HEX#bacf49
RGBrgb(186, 207, 73)
HSLhsl(69, 58%, 55%)
CMYKcmyk(10%, 0%, 65%, 19%)
LABlab(79.3 -24.9 61.8)
LCHlch(79.3 66.6 112.0)
OKLCHoklch(0.814 0.158 117.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bacf49 on white: 1.73:1
AA ✗ fail · AA-large · AAA
Aa
#bacf49 on black: 12.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green81.2%
Blue28.6%

CMYK percentages

Cyan10.1%
Magenta0.0%
Yellow64.7%
Key (black)18.8%

Color previews

#bacf49 text on a black background

contrast 12.11:1

Card sample

#bacf49 text on a white background

contrast 1.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bacf49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bacf49 in the Color Lab