Toolman

#DFDF20 color

#DFDF20#DFDF20

#DFDF20 is a medium, vivid yellow, closest to the CSS named color gold (#FFD700).

Color values

HEX#DFDF20
RGBrgb(223, 223, 32)
HSLhsl(60, 75%, 50%)
CMYKcmyk(0%, 0%, 86%, 13%)
Decimal14671648
CSScolor: #DFDF20;
Android0xFFDFDF20
SwiftUIColor(red: 0.875, green: 0.875, blue: 0.125, alpha: 1)

Accessibility and contrast

White text on #DFDF201.43:1 — AA fail · AA large fail · AAA fail
Black text on #DFDF2014.71:1 — AA pass · AA large pass · AAA pass
Recommended text colorblack

WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).

Tints and shades of #DFDF20

Each swatch keeps the hue and saturation of #DFDF20 and varies only lightness — the quickest way to build a usable scale from a single brand color.

95%
85%
75%
65%
55%
45%
35%
25%
15%

Colors that go with #DFDF20

Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.

Complementary
Triadic +120°
Triadic +240°
Analogous −30°
Analogous +30°
Split −150°
Split +150°

Using #DFDF20 in code

/* CSS */
.element { color: #DFDF20; background-color: #DFDF20; }
.element { color: rgb(223 223 32); }
.element { color: hsl(60 75% 50%); }

/* Tailwind arbitrary value */
<div class="bg-[#DFDF20] text-black">

/* SCSS variable */
$brand: #DFDF20;

Frequently asked questions

What color is #DFDF20?

#DFDF20 is a medium, vivid yellow. Its hue sits at 60° on the color wheel, with 75% saturation and 50% lightness.

What is #DFDF20 in RGB?

#DFDF20 converts to rgb(223, 223, 32) — 223 red, 223 green and 32 blue.

What is #DFDF20 in CMYK?

Approximately cmyk(0%, 0%, 86%, 13%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.

Should text on #DFDF20 be white or black?

Black gives the better contrast ratio (14.71:1 versus 1.43:1).

What is the complementary color of #DFDF20?

#2020DF — the hue directly opposite #DFDF20 on the color wheel.

Convert any color → · Browse all colors