Skip to content

#dbc974

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

RGB
219, 201, 116
HSL
50°, 59%, 66%
CMYK
0, 8, 47, 14
Luminance
0.5809

Every format

HEX#dbc974
RGBrgb(219, 201, 116)
HSLhsl(50, 59%, 66%)
CMYKcmyk(0%, 8%, 47%, 14%)
LABlab(80.8 -5.0 44.5)
LCHlch(80.8 44.8 96.4)
OKLCHoklch(0.833 0.108 97.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dbc974 on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#dbc974 on black: 12.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green78.8%
Blue45.5%

CMYK percentages

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

Color previews

#dbc974 text on a black background

contrast 12.62:1

Card sample

#dbc974 text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dbc974

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dbc974 in the Color Lab