Skip to content

#dbc972

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

RGB
219, 201, 114
HSL
50°, 59%, 65%
CMYK
0, 8, 48, 14
Luminance
0.5805

Every format

HEX#dbc972
RGBrgb(219, 201, 114)
HSLhsl(50, 59%, 65%)
CMYKcmyk(0%, 8%, 48%, 14%)
LABlab(80.8 -5.2 45.5)
LCHlch(80.8 45.8 96.5)
OKLCHoklch(0.832 0.110 97.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.9%
Green78.8%
Blue44.7%

CMYK percentages

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

Color previews

#dbc972 text on a black background

contrast 12.61:1

Card sample

#dbc972 text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dbc972

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dbc972 in the Color Lab