Skip to content

#dbb45f

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

RGB
219, 180, 95
HSL
41°, 63%, 62%
CMYK
0, 18, 57, 14
Luminance
0.4853

Every format

HEX#dbb45f
RGBrgb(219, 180, 95)
HSLhsl(41, 63%, 62%)
CMYKcmyk(0%, 18%, 57%, 14%)
LABlab(75.2 4.1 48.0)
LCHlch(75.2 48.2 85.1)
OKLCHoklch(0.787 0.113 85.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dbb45f on white: 1.96:1
AA ✗ fail · AA-large · AAA
Aa
#dbb45f on black: 10.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green70.6%
Blue37.3%

CMYK percentages

Cyan0.0%
Magenta17.8%
Yellow56.6%
Key (black)14.1%

Color previews

#dbb45f text on a black background

contrast 10.71:1

Card sample

#dbb45f text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(219, 180, 95, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(219, 180, 95, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dbb45f;
background: linear-gradient(135deg, #dbb45f, #AFDB5F);

Monochromatic scale

Palettes built from #dbb45f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dbb45f in the Color Lab