Skip to content

#daaa2f

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

RGB
218, 170, 47
HSL
43°, 70%, 52%
CMYK
0, 22, 78, 15
Luminance
0.4386

Every format

HEX#daaa2f
RGBrgb(218, 170, 47)
HSLhsl(43, 70%, 52%)
CMYKcmyk(0%, 22%, 78%, 15%)
LABlab(72.1 6.3 65.3)
LCHlch(72.1 65.6 84.5)
OKLCHoklch(0.762 0.142 85.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#daaa2f on white: 2.15:1
AA ✗ fail · AA-large · AAA
Aa
#daaa2f on black: 9.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green66.7%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta22.0%
Yellow78.4%
Key (black)14.5%

Color previews

#daaa2f text on a black background

contrast 9.77:1

Card sample

#daaa2f text on a white background

contrast 2.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #daaa2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #daaa2f in the Color Lab