Skip to content

#dfb230

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

RGB
223, 178, 48
HSL
45°, 73%, 53%
CMYK
0, 20, 79, 13
Luminance
0.4774

Every format

HEX#dfb230
RGBrgb(223, 178, 48)
HSLhsl(45, 73%, 53%)
CMYKcmyk(0%, 20%, 79%, 13%)
LABlab(74.7 4.3 67.5)
LCHlch(74.7 67.6 86.4)
OKLCHoklch(0.783 0.146 88.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb230 on white: 1.99:1
AA ✗ fail · AA-large · AAA
Aa
#dfb230 on black: 10.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green69.8%
Blue18.8%

CMYK percentages

Cyan0.0%
Magenta20.2%
Yellow78.5%
Key (black)12.5%

Color previews

#dfb230 text on a black background

contrast 10.55:1

Card sample

#dfb230 text on a white background

contrast 1.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb230

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb230 in the Color Lab