Skip to content

#baa621

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

RGB
186, 166, 33
HSL
52°, 70%, 43%
CMYK
0, 11, 82, 27
Luminance
0.3782

Every format

HEX#baa621
RGBrgb(186, 166, 33)
HSLhsl(52, 70%, 43%)
CMYKcmyk(0%, 11%, 82%, 27%)
LABlab(67.9 -6.1 64.8)
LCHlch(67.9 65.0 95.4)
OKLCHoklch(0.721 0.141 100.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baa621 on white: 2.45:1
AA ✗ fail · AA-large · AAA
Aa
#baa621 on black: 8.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green65.1%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta10.8%
Yellow82.3%
Key (black)27.1%

Color previews

#baa621 text on a black background

contrast 8.56:1

Card sample

#baa621 text on a white background

contrast 2.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 166, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 166, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baa621;
background: linear-gradient(135deg, #baa621, #68BA21);

Monochromatic scale

Palettes built from #baa621

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baa621 in the Color Lab