Skip to content

#dfab30

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

RGB
223, 171, 48
HSL
42°, 73%, 53%
CMYK
0, 23, 79, 13
Luminance
0.4503

Every format

HEX#dfab30
RGBrgb(223, 171, 48)
HSLhsl(42, 73%, 53%)
CMYKcmyk(0%, 23%, 79%, 13%)
LABlab(72.9 8.0 65.9)
LCHlch(72.9 66.4 83.1)
OKLCHoklch(0.769 0.144 84.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green67.1%
Blue18.8%

CMYK percentages

Cyan0.0%
Magenta23.3%
Yellow78.5%
Key (black)12.5%

Color previews

#dfab30 text on a black background

contrast 10.01:1

Card sample

#dfab30 text on a white background

contrast 2.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfab30

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfab30 in the Color Lab