Skip to content

#f3dfaf

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

RGB
243, 223, 175
HSL
42°, 74%, 82%
CMYK
0, 8, 28, 5
Luminance
0.7493

Every format

HEX#f3dfaf
RGBrgb(243, 223, 175)
HSLhsl(42, 74%, 82%)
CMYKcmyk(0%, 8%, 28%, 5%)
LABlab(89.4 -0.3 26.1)
LCHlch(89.4 26.1 90.6)
OKLCHoklch(0.908 0.066 88.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red95.3%
Green87.5%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta8.2%
Yellow28.0%
Key (black)4.7%

Color previews

#f3dfaf text on a black background

contrast 15.99:1

Card sample

#f3dfaf text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f3dfaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f3dfaf in the Color Lab