Skip to content

#ddbb4f

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

RGB
221, 187, 79
HSL
46°, 68%, 59%
CMYK
0, 15, 64, 13
Luminance
0.5148

Every format

HEX#ddbb4f
RGBrgb(221, 187, 79)
HSLhsl(46, 68%, 59%)
CMYKcmyk(0%, 15%, 64%, 13%)
LABlab(77.0 0.2 57.6)
LCHlch(77.0 57.6 89.8)
OKLCHoklch(0.802 0.131 91.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddbb4f on white: 1.86:1
AA ✗ fail · AA-large · AAA
Aa
#ddbb4f on black: 11.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green73.3%
Blue31.0%

CMYK percentages

Cyan0.0%
Magenta15.4%
Yellow64.3%
Key (black)13.3%

Color previews

#ddbb4f text on a black background

contrast 11.30:1

Card sample

#ddbb4f text on a white background

contrast 1.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddbb4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddbb4f in the Color Lab