Skip to content

#daac21

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

RGB
218, 172, 33
HSL
45°, 74%, 49%
CMYK
0, 21, 85, 15
Luminance
0.4452

Every format

HEX#daac21
RGBrgb(218, 172, 33)
HSLhsl(45, 74%, 49%)
CMYKcmyk(0%, 21%, 85%, 15%)
LABlab(72.6 4.8 70.0)
LCHlch(72.6 70.1 86.1)
OKLCHoklch(0.765 0.149 88.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.5%
Green67.5%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta21.1%
Yellow84.9%
Key (black)14.5%

Color previews

#daac21 text on a black background

contrast 9.90:1

Card sample

#daac21 text on a white background

contrast 2.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #daac21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #daac21 in the Color Lab