Skip to content

#dddf39

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

RGB
221, 223, 57
HSL
61°, 72%, 55%
CMYK
1, 0, 74, 13
Luminance
0.6844

Every format

HEX#dddf39
RGBrgb(221, 223, 57)
HSLhsl(61, 72%, 55%)
CMYKcmyk(1%, 0%, 74%, 13%)
LABlab(86.2 -19.1 75.1)
LCHlch(86.2 77.5 104.3)
OKLCHoklch(0.875 0.175 110.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dddf39 on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#dddf39 on black: 14.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green87.5%
Blue22.4%

CMYK percentages

Cyan0.9%
Magenta0.0%
Yellow74.4%
Key (black)12.5%

Color previews

#dddf39 text on a black background

contrast 14.69:1

Card sample

#dddf39 text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(221, 223, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(221, 223, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dddf39;
background: linear-gradient(135deg, #dddf39, #6EDF39);

Monochromatic scale

Palettes built from #dddf39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dddf39 in the Color Lab