Skip to content

#f2dbaa

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

RGB
242, 219, 170
HSL
41°, 74%, 81%
CMYK
0, 10, 30, 5
Luminance
0.7244

Every format

HEX#f2dbaa
RGBrgb(242, 219, 170)
HSLhsl(41, 74%, 81%)
CMYKcmyk(0%, 10%, 30%, 5%)
LABlab(88.2 0.8 27.0)
LCHlch(88.2 27.0 88.4)
OKLCHoklch(0.898 0.068 85.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2dbaa on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#f2dbaa on black: 15.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green85.9%
Blue66.7%

CMYK percentages

Cyan0.0%
Magenta9.5%
Yellow29.8%
Key (black)5.1%

Color previews

#f2dbaa text on a black background

contrast 15.49:1

Card sample

#f2dbaa text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2dbaa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2dbaa in the Color Lab