Skip to content

#ffdb2f

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

RGB
255, 219, 47
HSL
50°, 100%, 59%
CMYK
0, 14, 82, 0
Luminance
0.7213

Every format

HEX#ffdb2f
RGBrgb(255, 219, 47)
HSLhsl(50, 100%, 59%)
CMYKcmyk(0%, 14%, 82%, 0%)
LABlab(88.0 -3.2 80.7)
LCHlch(88.0 80.8 92.3)
OKLCHoklch(0.896 0.174 96.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green85.9%
Blue18.4%

CMYK percentages

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

Color previews

#ffdb2f text on a black background

contrast 15.43:1

Card sample

#ffdb2f text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffdb2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffdb2f in the Color Lab