Skip to content

#dabc49

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

RGB
218, 188, 73
HSL
48°, 66%, 57%
CMYK
0, 14, 67, 15
Luminance
0.5135

Every format

HEX#dabc49
RGBrgb(218, 188, 73)
HSLhsl(48, 66%, 57%)
CMYKcmyk(0%, 14%, 67%, 15%)
LABlab(76.9 -1.9 60.0)
LCHlch(76.9 60.0 91.9)
OKLCHoklch(0.800 0.136 94.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dabc49 on white: 1.86:1
AA ✗ fail · AA-large · AAA
Aa
#dabc49 on black: 11.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green73.7%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta13.8%
Yellow66.5%
Key (black)14.5%

Color previews

#dabc49 text on a black background

contrast 11.27:1

Card sample

#dabc49 text on a white background

contrast 1.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dabc49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dabc49 in the Color Lab