Skip to content

#baac2d

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

RGB
186, 172, 45
HSL
54°, 61%, 45%
CMYK
0, 8, 76, 27
Luminance
0.4013

Every format

HEX#baac2d
RGBrgb(186, 172, 45)
HSLhsl(54, 61%, 45%)
CMYKcmyk(0%, 8%, 76%, 27%)
LABlab(69.6 -8.8 62.5)
LCHlch(69.6 63.1 98.0)
OKLCHoklch(0.735 0.141 102.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baac2d on white: 2.33:1
AA ✗ fail · AA-large · AAA
Aa
#baac2d on black: 9.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green67.5%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta7.5%
Yellow75.8%
Key (black)27.1%

Color previews

#baac2d text on a black background

contrast 9.03:1

Card sample

#baac2d text on a white background

contrast 2.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baac2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baac2d in the Color Lab