Skip to content

#f2d4af

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

RGB
242, 212, 175
HSL
33°, 72%, 82%
CMYK
0, 12, 28, 5
Luminance
0.6906

Every format

HEX#f2d4af
RGBrgb(242, 212, 175)
HSLhsl(33, 72%, 82%)
CMYKcmyk(0%, 12%, 28%, 5%)
LABlab(86.5 5.0 22.2)
LCHlch(86.5 22.7 77.3)
OKLCHoklch(0.886 0.059 72.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green83.1%
Blue68.6%

CMYK percentages

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

Color previews

#f2d4af text on a black background

contrast 14.81:1

Card sample

#f2d4af text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2d4af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2d4af in the Color Lab