Skip to content

#daba2f

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

RGB
218, 186, 47
HSL
49°, 70%, 52%
CMYK
0, 15, 78, 15
Luminance
0.5023

Every format

HEX#daba2f
RGBrgb(218, 186, 47)
HSLhsl(49, 70%, 52%)
CMYKcmyk(0%, 15%, 78%, 15%)
LABlab(76.2 -2.1 69.0)
LCHlch(76.2 69.0 91.8)
OKLCHoklch(0.794 0.150 95.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.5%
Green72.9%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta14.7%
Yellow78.4%
Key (black)14.5%

Color previews

#daba2f text on a black background

contrast 11.05:1

Card sample

#daba2f text on a white background

contrast 1.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #daba2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #daba2f in the Color Lab