Skip to content

#ffdb22

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

RGB
255, 219, 34
HSL
50°, 100%, 57%
CMYK
0, 14, 87, 0
Luminance
0.7204

Every format

HEX#ffdb22
RGBrgb(255, 219, 34)
HSLhsl(50, 100%, 57%)
CMYKcmyk(0%, 14%, 87%, 0%)
LABlab(88.0 -3.5 83.7)
LCHlch(88.0 83.8 92.4)
OKLCHoklch(0.895 0.179 96.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green85.9%
Blue13.3%

CMYK percentages

Cyan0.0%
Magenta14.1%
Yellow86.7%
Key (black)0.0%

Color previews

#ffdb22 text on a black background

contrast 15.41:1

Card sample

#ffdb22 text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffdb22

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffdb22 in the Color Lab