Skip to content

#f2d3af

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

RGB
242, 211, 175
HSL
32°, 72%, 82%
CMYK
0, 13, 28, 5
Luminance
0.6856

Every format

HEX#f2d3af
RGBrgb(242, 211, 175)
HSLhsl(32, 72%, 82%)
CMYKcmyk(0%, 13%, 28%, 5%)
LABlab(86.3 5.5 21.8)
LCHlch(86.3 22.5 75.8)
OKLCHoklch(0.884 0.059 71.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2d3af on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#f2d3af on black: 14.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green82.7%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta12.8%
Yellow27.7%
Key (black)5.1%

Color previews

#f2d3af text on a black background

contrast 14.71:1

Card sample

#f2d3af text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2d3af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2d3af in the Color Lab