Skip to content

#daba49

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

RGB
218, 186, 73
HSL
47°, 66%, 57%
CMYK
0, 15, 67, 15
Luminance
0.5050

Every format

HEX#daba49
RGBrgb(218, 186, 73)
HSLhsl(47, 66%, 57%)
CMYKcmyk(0%, 15%, 67%, 15%)
LABlab(76.4 -0.9 59.5)
LCHlch(76.4 59.5 90.9)
OKLCHoklch(0.796 0.135 93.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#daba49 on white: 1.89:1
AA ✗ fail · AA-large · AAA
Aa
#daba49 on black: 11.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green72.9%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta14.7%
Yellow66.5%
Key (black)14.5%

Color previews

#daba49 text on a black background

contrast 11.10:1

Card sample

#daba49 text on a white background

contrast 1.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(218, 186, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(218, 186, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #daba49;
background: linear-gradient(135deg, #daba49, #99DA49);

Monochromatic scale

Palettes built from #daba49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #daba49 in the Color Lab