Skip to content

#dbc96b

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

RGB
219, 201, 107
HSL
50°, 61%, 64%
CMYK
0, 8, 51, 14
Luminance
0.5789

Every format

HEX#dbc96b
RGBrgb(219, 201, 107)
HSLhsl(50, 61%, 64%)
CMYKcmyk(0%, 8%, 51%, 14%)
LABlab(80.7 -5.8 48.8)
LCHlch(80.7 49.1 96.8)
OKLCHoklch(0.832 0.117 98.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.9%
Green78.8%
Blue42.0%

CMYK percentages

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

Color previews

#dbc96b text on a black background

contrast 12.58:1

Card sample

#dbc96b text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dbc96b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dbc96b in the Color Lab