Skip to content

#ffdb39

a balanced, electric yellow · cool · closest name: gold

RGB
255, 219, 57
HSL
49°, 100%, 61%
CMYK
0, 14, 78, 0
Luminance
0.7222

Every format

HEX#ffdb39
RGBrgb(255, 219, 57)
HSLhsl(49, 100%, 61%)
CMYKcmyk(0%, 14%, 78%, 0%)
LABlab(88.1 -2.9 77.9)
LCHlch(88.1 77.9 92.1)
OKLCHoklch(0.896 0.170 95.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffdb39 on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#ffdb39 on black: 15.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green85.9%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta14.1%
Yellow77.6%
Key (black)0.0%

Color previews

#ffdb39 text on a black background

contrast 15.44:1

Card sample

#ffdb39 text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(255, 219, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 219, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffdb39;
background: linear-gradient(135deg, #ffdb39, #9FFF39);

Monochromatic scale

Palettes built from #ffdb39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffdb39 in the Color Lab