Skip to content

#f2ccab

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

RGB
242, 204, 171
HSL
28°, 73%, 81%
CMYK
0, 16, 29, 5
Luminance
0.6500

Every format

HEX#f2ccab
RGBrgb(242, 204, 171)
HSLhsl(28, 73%, 81%)
CMYKcmyk(0%, 16%, 29%, 5%)
LABlab(84.5 8.7 21.4)
LCHlch(84.5 23.1 68.0)
OKLCHoklch(0.870 0.061 62.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green80.0%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta15.7%
Yellow29.3%
Key (black)5.1%

Color previews

#f2ccab text on a black background

contrast 14.00:1

Card sample

#f2ccab text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2ccab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2ccab in the Color Lab