Skip to content

#baac59

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

RGB
186, 172, 89
HSL
51°, 41%, 54%
CMYK
0, 8, 52, 27
Luminance
0.4067

Every format

HEX#baac59
RGBrgb(186, 172, 89)
HSLhsl(51, 41%, 54%)
CMYKcmyk(0%, 8%, 52%, 27%)
LABlab(69.9 -6.0 44.1)
LCHlch(69.9 44.5 97.7)
OKLCHoklch(0.739 0.106 99.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baac59 on white: 2.30:1
AA ✗ fail · AA-large · AAA
Aa
#baac59 on black: 9.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green67.5%
Blue34.9%

CMYK percentages

Cyan0.0%
Magenta7.5%
Yellow52.2%
Key (black)27.1%

Color previews

#baac59 text on a black background

contrast 9.13:1

Card sample

#baac59 text on a white background

contrast 2.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baac59

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baac59 in the Color Lab