Skip to content

#dabc21

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

RGB
218, 188, 33
HSL
50°, 74%, 49%
CMYK
0, 14, 85, 15
Luminance
0.5098

Every format

HEX#dabc21
RGBrgb(218, 188, 33)
HSLhsl(50, 74%, 49%)
CMYKcmyk(0%, 14%, 85%, 15%)
LABlab(76.7 -3.6 73.3)
LCHlch(76.7 73.4 92.8)
OKLCHoklch(0.798 0.158 96.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dabc21 on white: 1.88:1
AA ✗ fail · AA-large · AAA
Aa
#dabc21 on black: 11.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green73.7%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta13.8%
Yellow84.9%
Key (black)14.5%

Color previews

#dabc21 text on a black background

contrast 11.20:1

Card sample

#dabc21 text on a white background

contrast 1.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dabc21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dabc21 in the Color Lab