Skip to content

#ddbb2f

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

RGB
221, 187, 47
HSL
48°, 72%, 53%
CMYK
0, 15, 79, 13
Luminance
0.5112

Every format

HEX#ddbb2f
RGBrgb(221, 187, 47)
HSLhsl(48, 72%, 53%)
CMYKcmyk(0%, 15%, 79%, 13%)
LABlab(76.8 -1.3 69.6)
LCHlch(76.8 69.6 91.1)
OKLCHoklch(0.799 0.151 94.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.7%
Green73.3%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta15.4%
Yellow78.7%
Key (black)13.3%

Color previews

#ddbb2f text on a black background

contrast 11.22:1

Card sample

#ddbb2f text on a white background

contrast 1.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddbb2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddbb2f in the Color Lab