Skip to content

#baac40

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

RGB
186, 172, 64
HSL
53°, 49%, 49%
CMYK
0, 8, 66, 27
Luminance
0.4031

Every format

HEX#baac40
RGBrgb(186, 172, 64)
HSLhsl(53, 49%, 49%)
CMYKcmyk(0%, 8%, 66%, 27%)
LABlab(69.7 -7.8 55.3)
LCHlch(69.7 55.9 98.1)
OKLCHoklch(0.736 0.128 101.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baac40 on white: 2.32:1
AA ✗ fail · AA-large · AAA
Aa
#baac40 on black: 9.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green67.5%
Blue25.1%

CMYK percentages

Cyan0.0%
Magenta7.5%
Yellow65.6%
Key (black)27.1%

Color previews

#baac40 text on a black background

contrast 9.06:1

Card sample

#baac40 text on a white background

contrast 2.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 172, 64, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 172, 64, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baac40;
background: linear-gradient(135deg, #baac40, #77BA40);

Monochromatic scale

Palettes built from #baac40

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baac40 in the Color Lab