Skip to content

#dbc948

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

RGB
219, 201, 72
HSL
53°, 67%, 57%
CMYK
0, 8, 67, 14
Luminance
0.5730

Every format

HEX#dbc948
RGBrgb(219, 201, 72)
HSLhsl(53, 67%, 57%)
CMYKcmyk(0%, 8%, 67%, 14%)
LABlab(80.3 -8.3 64.0)
LCHlch(80.3 64.5 97.4)
OKLCHoklch(0.828 0.147 101.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.9%
Green78.8%
Blue28.2%

CMYK percentages

Cyan0.0%
Magenta8.2%
Yellow67.1%
Key (black)14.1%

Color previews

#dbc948 text on a black background

contrast 12.46:1

Card sample

#dbc948 text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dbc948

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dbc948 in the Color Lab