Skip to content

#dfdf25

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

RGB
223, 223, 37
HSL
60°, 74%, 51%
CMYK
0, 0, 83, 13
Luminance
0.6860

Every format

HEX#dfdf25
RGBrgb(223, 223, 37)
HSLhsl(60, 74%, 51%)
CMYKcmyk(0%, 0%, 83%, 13%)
LABlab(86.3 -18.9 80.5)
LCHlch(86.3 82.8 103.2)
OKLCHoklch(0.875 0.183 109.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green87.5%
Blue14.5%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow83.4%
Key (black)12.5%

Color previews

#dfdf25 text on a black background

contrast 14.72:1

Card sample

#dfdf25 text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 223, 37, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 223, 37, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfdf25;
background: linear-gradient(135deg, #dfdf25, #63DF25);

Monochromatic scale

Palettes built from #dfdf25

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdf25 in the Color Lab