Skip to content

#ffdb58

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

RGB
255, 219, 88
HSL
47°, 100%, 67%
CMYK
0, 14, 66, 0
Luminance
0.7263

Every format

HEX#ffdb58
RGBrgb(255, 219, 88)
HSLhsl(47, 100%, 67%)
CMYKcmyk(0%, 14%, 66%, 0%)
LABlab(88.3 -1.5 66.8)
LCHlch(88.3 66.8 91.3)
OKLCHoklch(0.898 0.151 93.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffdb58 on white: 1.35:1
AA ✗ fail · AA-large · AAA
Aa
#ffdb58 on black: 15.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green85.9%
Blue34.5%

CMYK percentages

Cyan0.0%
Magenta14.1%
Yellow65.5%
Key (black)0.0%

Color previews

#ffdb58 text on a black background

contrast 15.53:1

Card sample

#ffdb58 text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffdb58

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffdb58 in the Color Lab