Skip to content

#ffdb00

a balanced, electric yellow · cool · “gold”

RGB
255, 219, 0
HSL
52°, 100%, 50%
CMYK
0, 14, 100, 0
Luminance
0.7192

Every format

HEX#ffdb00
RGBrgb(255, 219, 0)
HSLhsl(52, 100%, 50%)
CMYKcmyk(0%, 14%, 100%, 0%)
LABlab(87.9 -3.9 87.8)
LCHlch(87.9 87.9 92.6)
OKLCHoklch(0.895 0.184 97.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffdb00 on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#ffdb00 on black: 15.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green85.9%
Blue0.0%

CMYK percentages

Cyan0.0%
Magenta14.1%
Yellow100.0%
Key (black)0.0%

Color previews

#ffdb00 text on a black background

contrast 15.38:1

Card sample

#ffdb00 text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffdb00

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffdb00 in the Color Lab