Skip to content

#daac2f

a balanced, vivid yellow · warm · closest name: orange

RGB
218, 172, 47
HSL
44°, 70%, 52%
CMYK
0, 21, 78, 15
Luminance
0.4462

Every format

HEX#daac2f
RGBrgb(218, 172, 47)
HSLhsl(44, 70%, 52%)
CMYKcmyk(0%, 21%, 78%, 15%)
LABlab(72.6 5.3 65.8)
LCHlch(72.6 66.0 85.4)
OKLCHoklch(0.766 0.143 87.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#daac2f on white: 2.12:1
AA ✗ fail · AA-large · AAA
Aa
#daac2f on black: 9.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green67.5%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta21.1%
Yellow78.4%
Key (black)14.5%

Color previews

#daac2f text on a black background

contrast 9.92:1

Card sample

#daac2f text on a white background

contrast 2.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #daac2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #daac2f in the Color Lab