Skip to content

#f2d4ac

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

RGB
242, 212, 172
HSL
34°, 73%, 81%
CMYK
0, 12, 29, 5
Luminance
0.6894

Every format

HEX#f2d4ac
RGBrgb(242, 212, 172)
HSLhsl(34, 73%, 81%)
CMYKcmyk(0%, 12%, 29%, 5%)
LABlab(86.5 4.6 23.7)
LCHlch(86.5 24.1 79.0)
OKLCHoklch(0.885 0.062 74.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2d4ac on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#f2d4ac on black: 14.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green83.1%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta12.4%
Yellow28.9%
Key (black)5.1%

Color previews

#f2d4ac text on a black background

contrast 14.79:1

Card sample

#f2d4ac text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2d4ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2d4ac in the Color Lab