Skip to content

#bdad21

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

RGB
189, 173, 33
HSL
54°, 70%, 44%
CMYK
0, 9, 83, 26
Luminance
0.4082

Every format

HEX#bdad21
RGBrgb(189, 173, 33)
HSLhsl(54, 70%, 44%)
CMYKcmyk(0%, 9%, 83%, 26%)
LABlab(70.0 -8.4 66.7)
LCHlch(70.0 67.2 97.2)
OKLCHoklch(0.739 0.147 102.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bdad21 on white: 2.29:1
AA ✗ fail · AA-large · AAA
Aa
#bdad21 on black: 9.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.1%
Green67.8%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta8.5%
Yellow82.5%
Key (black)25.9%

Color previews

#bdad21 text on a black background

contrast 9.16:1

Card sample

#bdad21 text on a white background

contrast 2.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bdad21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bdad21 in the Color Lab