Skip to content

#ffdb4d

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

RGB
255, 219, 77
HSL
48°, 100%, 65%
CMYK
0, 14, 70, 0
Luminance
0.7246

Every format

HEX#ffdb4d
RGBrgb(255, 219, 77)
HSLhsl(48, 100%, 65%)
CMYKcmyk(0%, 14%, 70%, 0%)
LABlab(88.2 -2.1 71.0)
LCHlch(88.2 71.1 91.7)
OKLCHoklch(0.898 0.159 94.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green85.9%
Blue30.2%

CMYK percentages

Cyan0.0%
Magenta14.1%
Yellow69.8%
Key (black)0.0%

Color previews

#ffdb4d text on a black background

contrast 15.49:1

Card sample

#ffdb4d text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffdb4d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffdb4d in the Color Lab