Skip to content

#ffdb70

a light, electric yellow · warm · closest name: khaki

RGB
255, 219, 112
HSL
45°, 100%, 72%
CMYK
0, 14, 56, 0
Luminance
0.7309

Every format

HEX#ffdb70
RGBrgb(255, 219, 112)
HSLhsl(45, 100%, 72%)
CMYKcmyk(0%, 14%, 56%, 0%)
LABlab(88.5 0.1 56.4)
LCHlch(88.5 56.4 89.9)
OKLCHoklch(0.901 0.132 91.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffdb70 on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#ffdb70 on black: 15.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green85.9%
Blue43.9%

CMYK percentages

Cyan0.0%
Magenta14.1%
Yellow56.1%
Key (black)0.0%

Color previews

#ffdb70 text on a black background

contrast 15.62:1

Card sample

#ffdb70 text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffdb70

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffdb70 in the Color Lab