Skip to content

#dbc971

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

RGB
219, 201, 113
HSL
50°, 60%, 65%
CMYK
0, 8, 48, 14
Luminance
0.5803

Every format

HEX#dbc971
RGBrgb(219, 201, 113)
HSLhsl(50, 60%, 65%)
CMYKcmyk(0%, 8%, 48%, 14%)
LABlab(80.8 -5.3 46.0)
LCHlch(80.8 46.3 96.6)
OKLCHoklch(0.832 0.111 98.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dbc971 on white: 1.67:1
AA ✗ fail · AA-large · AAA
Aa
#dbc971 on black: 12.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green78.8%
Blue44.3%

CMYK percentages

Cyan0.0%
Magenta8.2%
Yellow48.4%
Key (black)14.1%

Color previews

#dbc971 text on a black background

contrast 12.61:1

Card sample

#dbc971 text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dbc971

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dbc971 in the Color Lab