Skip to content

#dbc955

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

RGB
219, 201, 85
HSL
52°, 65%, 60%
CMYK
0, 8, 61, 14
Luminance
0.5749

Every format

HEX#dbc955
RGBrgb(219, 201, 85)
HSLhsl(52, 65%, 60%)
CMYKcmyk(0%, 8%, 61%, 14%)
LABlab(80.5 -7.5 58.7)
LCHlch(80.5 59.2 97.3)
OKLCHoklch(0.829 0.137 100.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dbc955 on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#dbc955 on black: 12.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green78.8%
Blue33.3%

CMYK percentages

Cyan0.0%
Magenta8.2%
Yellow61.2%
Key (black)14.1%

Color previews

#dbc955 text on a black background

contrast 12.50:1

Card sample

#dbc955 text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dbc955

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dbc955 in the Color Lab