Skip to content

#baac48

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

RGB
186, 172, 72
HSL
53°, 45%, 51%
CMYK
0, 8, 61, 27
Luminance
0.4041

Every format

HEX#baac48
RGBrgb(186, 172, 72)
HSLhsl(53, 45%, 51%)
CMYKcmyk(0%, 8%, 61%, 27%)
LABlab(69.8 -7.3 51.9)
LCHlch(69.8 52.4 98.0)
OKLCHoklch(0.737 0.121 101.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baac48 on white: 2.31:1
AA ✗ fail · AA-large · AAA
Aa
#baac48 on black: 9.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green67.5%
Blue28.2%

CMYK percentages

Cyan0.0%
Magenta7.5%
Yellow61.3%
Key (black)27.1%

Color previews

#baac48 text on a black background

contrast 9.08:1

Card sample

#baac48 text on a white background

contrast 2.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baac48

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baac48 in the Color Lab