Skip to content

#dba40c

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

RGB
219, 164, 12
HSL
44°, 90%, 45%
CMYK
0, 25, 95, 14
Luminance
0.4164

Every format

HEX#dba40c
RGBrgb(219, 164, 12)
HSLhsl(44, 90%, 45%)
CMYKcmyk(0%, 25%, 95%, 14%)
LABlab(70.6 9.1 72.6)
LCHlch(70.6 73.2 82.8)
OKLCHoklch(0.750 0.152 84.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dba40c on white: 2.25:1
AA ✗ fail · AA-large · AAA
Aa
#dba40c on black: 9.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green64.3%
Blue4.7%

CMYK percentages

Cyan0.0%
Magenta25.1%
Yellow94.5%
Key (black)14.1%

Color previews

#dba40c text on a black background

contrast 9.33:1

Card sample

#dba40c text on a white background

contrast 2.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(219, 164, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(219, 164, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dba40c;
background: linear-gradient(135deg, #dba40c, #88DB0C);

Monochromatic scale

Palettes built from #dba40c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dba40c in the Color Lab