Skip to content

#ffdb4b

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

RGB
255, 219, 75
HSL
48°, 100%, 65%
CMYK
0, 14, 71, 0
Luminance
0.7243

Every format

HEX#ffdb4b
RGBrgb(255, 219, 75)
HSLhsl(48, 100%, 65%)
CMYKcmyk(0%, 14%, 71%, 0%)
LABlab(88.2 -2.2 71.8)
LCHlch(88.2 71.8 91.7)
OKLCHoklch(0.897 0.160 94.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green85.9%
Blue29.4%

CMYK percentages

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

Color previews

#ffdb4b text on a black background

contrast 15.49:1

Card sample

#ffdb4b text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffdb4b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffdb4b in the Color Lab