Skip to content

#f2ccaf

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

RGB
242, 204, 175
HSL
26°, 72%, 82%
CMYK
0, 16, 28, 5
Luminance
0.6516

Every format

HEX#f2ccaf
RGBrgb(242, 204, 175)
HSLhsl(26, 72%, 82%)
CMYKcmyk(0%, 16%, 28%, 5%)
LABlab(84.6 9.2 19.4)
LCHlch(84.6 21.5 64.8)
OKLCHoklch(0.870 0.058 59.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2ccaf on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#f2ccaf on black: 14.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green80.0%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta15.7%
Yellow27.7%
Key (black)5.1%

Color previews

#f2ccaf text on a black background

contrast 14.03:1

Card sample

#f2ccaf text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2ccaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2ccaf in the Color Lab