Skip to content

#daba3f

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

RGB
218, 186, 63
HSL
48°, 68%, 55%
CMYK
0, 15, 71, 15
Luminance
0.5038

Every format

HEX#daba3f
RGBrgb(218, 186, 63)
HSLhsl(48, 68%, 55%)
CMYKcmyk(0%, 15%, 71%, 15%)
LABlab(76.3 -1.4 63.4)
LCHlch(76.3 63.5 91.3)
OKLCHoklch(0.795 0.141 94.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#daba3f on white: 1.90:1
AA ✗ fail · AA-large · AAA
Aa
#daba3f on black: 11.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green72.9%
Blue24.7%

CMYK percentages

Cyan0.0%
Magenta14.7%
Yellow71.1%
Key (black)14.5%

Color previews

#daba3f text on a black background

contrast 11.08:1

Card sample

#daba3f text on a white background

contrast 1.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #daba3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #daba3f in the Color Lab