Skip to content

#ddbb21

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

RGB
221, 187, 33
HSL
49°, 74%, 50%
CMYK
0, 15, 85, 13
Luminance
0.5102

Every format

HEX#ddbb21
RGBrgb(221, 187, 33)
HSLhsl(49, 74%, 50%)
CMYKcmyk(0%, 15%, 85%, 13%)
LABlab(76.7 -1.7 73.5)
LCHlch(76.7 73.5 91.4)
OKLCHoklch(0.799 0.157 95.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddbb21 on white: 1.87:1
AA ✗ fail · AA-large · AAA
Aa
#ddbb21 on black: 11.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green73.3%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta15.4%
Yellow85.1%
Key (black)13.3%

Color previews

#ddbb21 text on a black background

contrast 11.20:1

Card sample

#ddbb21 text on a white background

contrast 1.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(221, 187, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(221, 187, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ddbb21;
background: linear-gradient(135deg, #ddbb21, #82DD21);

Monochromatic scale

Palettes built from #ddbb21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddbb21 in the Color Lab