Skip to content

#dadc21

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

RGB
218, 220, 33
HSL
61°, 74%, 50%
CMYK
1, 0, 85, 14
Luminance
0.6620

Every format

HEX#dadc21
RGBrgb(218, 220, 33)
HSLhsl(61, 74%, 50%)
CMYKcmyk(1%, 0%, 85%, 14%)
LABlab(85.1 -19.7 80.2)
LCHlch(85.1 82.6 103.8)
OKLCHoklch(0.865 0.183 110.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dadc21 on white: 1.47:1
AA ✗ fail · AA-large · AAA
Aa
#dadc21 on black: 14.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green86.3%
Blue12.9%

CMYK percentages

Cyan0.9%
Magenta0.0%
Yellow85.0%
Key (black)13.7%

Color previews

#dadc21 text on a black background

contrast 14.24:1

Card sample

#dadc21 text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dadc21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dadc21 in the Color Lab