Skip to content

#f2d4a2

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

RGB
242, 212, 162
HSL
38°, 76%, 79%
CMYK
0, 12, 33, 5
Luminance
0.6857

Every format

HEX#f2d4a2
RGBrgb(242, 212, 162)
HSLhsl(38, 76%, 79%)
CMYKcmyk(0%, 12%, 33%, 5%)
LABlab(86.3 3.4 28.6)
LCHlch(86.3 28.8 83.3)
OKLCHoklch(0.883 0.073 80.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green83.1%
Blue63.5%

CMYK percentages

Cyan0.0%
Magenta12.4%
Yellow33.1%
Key (black)5.1%

Color previews

#f2d4a2 text on a black background

contrast 14.71:1

Card sample

#f2d4a2 text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2d4a2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2d4a2 in the Color Lab