Skip to content

#f3dfab

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

RGB
243, 223, 171
HSL
43°, 75%, 81%
CMYK
0, 8, 30, 5
Luminance
0.7477

Every format

HEX#f3dfab
RGBrgb(243, 223, 171)
HSLhsl(43, 75%, 81%)
CMYKcmyk(0%, 8%, 30%, 5%)
LABlab(89.3 -0.8 28.0)
LCHlch(89.3 28.0 91.6)
OKLCHoklch(0.907 0.071 89.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f3dfab on white: 1.32:1
AA ✗ fail · AA-large · AAA
Aa
#f3dfab on black: 15.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.3%
Green87.5%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta8.2%
Yellow29.6%
Key (black)4.7%

Color previews

#f3dfab text on a black background

contrast 15.95:1

Card sample

#f3dfab text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f3dfab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f3dfab in the Color Lab