Skip to content

#baad21

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

RGB
186, 173, 33
HSL
55°, 70%, 43%
CMYK
0, 7, 82, 27
Luminance
0.4044

Every format

HEX#baad21
RGBrgb(186, 173, 33)
HSLhsl(55, 70%, 43%)
CMYKcmyk(0%, 7%, 82%, 27%)
LABlab(69.8 -9.8 66.4)
LCHlch(69.8 67.1 98.4)
OKLCHoklch(0.736 0.147 103.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red72.9%
Green67.8%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta7.0%
Yellow82.3%
Key (black)27.1%

Color previews

#baad21 text on a black background

contrast 9.09:1

Card sample

#baad21 text on a white background

contrast 2.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baad21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baad21 in the Color Lab