Skip to content

#dadb21

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

RGB
218, 219, 33
HSL
60°, 74%, 49%
CMYK
1, 0, 85, 14
Luminance
0.6568

Every format

HEX#dadb21
RGBrgb(218, 219, 33)
HSLhsl(60, 74%, 49%)
CMYKcmyk(1%, 0%, 85%, 14%)
LABlab(84.8 -19.2 80.0)
LCHlch(84.8 82.3 103.5)
OKLCHoklch(0.863 0.182 110.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dadb21 on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#dadb21 on black: 14.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green85.9%
Blue12.9%

CMYK percentages

Cyan0.5%
Magenta0.0%
Yellow84.9%
Key (black)14.1%

Color previews

#dadb21 text on a black background

contrast 14.14:1

Card sample

#dadb21 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dadb21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dadb21 in the Color Lab