Skip to content

#ffdfab

a light, electric orange · warm · closest name: tan

RGB
255, 223, 171
HSL
37°, 100%, 84%
CMYK
0, 13, 33, 0
Luminance
0.7698

Every format

HEX#ffdfab
RGBrgb(255, 223, 171)
HSLhsl(37, 100%, 84%)
CMYKcmyk(0%, 13%, 33%, 0%)
LABlab(90.3 3.8 29.6)
LCHlch(90.3 29.8 82.8)
OKLCHoklch(0.918 0.076 79.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffdfab on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#ffdfab on black: 16.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green87.5%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta12.5%
Yellow32.9%
Key (black)0.0%

Color previews

#ffdfab text on a black background

contrast 16.40:1

Card sample

#ffdfab text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffdfab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffdfab in the Color Lab