Skip to content

#d0da21

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

RGB
208, 218, 33
HSL
63°, 74%, 49%
CMYK
5, 0, 85, 15
Luminance
0.6366

Every format

HEX#d0da21
RGBrgb(208, 218, 33)
HSLhsl(63, 74%, 49%)
CMYKcmyk(5%, 0%, 85%, 15%)
LABlab(83.8 -22.9 78.8)
LCHlch(83.8 82.1 106.2)
OKLCHoklch(0.852 0.184 113.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d0da21 on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#d0da21 on black: 13.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green85.5%
Blue12.9%

CMYK percentages

Cyan4.6%
Magenta0.0%
Yellow84.9%
Key (black)14.5%

Color previews

#d0da21 text on a black background

contrast 13.73:1

Card sample

#d0da21 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d0da21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d0da21 in the Color Lab