Skip to content

#dbc945

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

RGB
219, 201, 69
HSL
53°, 68%, 57%
CMYK
0, 8, 69, 14
Luminance
0.5726

Every format

HEX#dbc945
RGBrgb(219, 201, 69)
HSLhsl(53, 68%, 57%)
CMYKcmyk(0%, 8%, 69%, 14%)
LABlab(80.3 -8.4 65.2)
LCHlch(80.3 65.7 97.4)
OKLCHoklch(0.828 0.149 101.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dbc945 on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#dbc945 on black: 12.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green78.8%
Blue27.1%

CMYK percentages

Cyan0.0%
Magenta8.2%
Yellow68.5%
Key (black)14.1%

Color previews

#dbc945 text on a black background

contrast 12.45:1

Card sample

#dbc945 text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(219, 201, 69, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(219, 201, 69, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dbc945;
background: linear-gradient(135deg, #dbc945, #89DB45);

Monochromatic scale

Palettes built from #dbc945

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dbc945 in the Color Lab