Skip to content

#baa921

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

RGB
186, 169, 33
HSL
53°, 70%, 43%
CMYK
0, 9, 82, 27
Luminance
0.3892

Every format

HEX#baa921
RGBrgb(186, 169, 33)
HSLhsl(53, 70%, 43%)
CMYKcmyk(0%, 9%, 82%, 27%)
LABlab(68.7 -7.7 65.4)
LCHlch(68.7 65.9 96.7)
OKLCHoklch(0.728 0.144 101.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baa921 on white: 2.39:1
AA ✗ fail · AA-large · AAA
Aa
#baa921 on black: 8.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green66.3%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta9.1%
Yellow82.3%
Key (black)27.1%

Color previews

#baa921 text on a black background

contrast 8.78:1

Card sample

#baa921 text on a white background

contrast 2.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baa921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baa921 in the Color Lab