Skip to content

#f7dfaa

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

RGB
247, 223, 170
HSL
41°, 83%, 82%
CMYK
0, 10, 31, 3
Luminance
0.7545

Every format

HEX#f7dfaa
RGBrgb(247, 223, 170)
HSLhsl(41, 83%, 82%)
CMYKcmyk(0%, 10%, 31%, 3%)
LABlab(89.6 0.6 29.0)
LCHlch(89.6 29.0 88.8)
OKLCHoklch(0.911 0.073 86.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f7dfaa on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#f7dfaa on black: 16.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.9%
Green87.5%
Blue66.7%

CMYK percentages

Cyan0.0%
Magenta9.7%
Yellow31.2%
Key (black)3.1%

Color previews

#f7dfaa text on a black background

contrast 16.09:1

Card sample

#f7dfaa text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f7dfaa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f7dfaa in the Color Lab