Skip to content

#dfab25

a balanced, vivid yellow · warm · closest name: orange

RGB
223, 171, 37
HSL
43°, 74%, 51%
CMYK
0, 23, 83, 13
Luminance
0.4495

Every format

HEX#dfab25
RGBrgb(223, 171, 37)
HSLhsl(43, 74%, 51%)
CMYKcmyk(0%, 23%, 83%, 13%)
LABlab(72.9 7.6 69.3)
LCHlch(72.9 69.7 83.7)
OKLCHoklch(0.769 0.149 85.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfab25 on white: 2.10:1
AA ✗ fail · AA-large · AAA
Aa
#dfab25 on black: 9.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green67.1%
Blue14.5%

CMYK percentages

Cyan0.0%
Magenta23.3%
Yellow83.4%
Key (black)12.5%

Color previews

#dfab25 text on a black background

contrast 9.99:1

Card sample

#dfab25 text on a white background

contrast 2.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfab25

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfab25 in the Color Lab