Skip to content

#f2ddb5

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

RGB
242, 221, 181
HSL
39°, 70%, 83%
CMYK
0, 9, 25, 5
Luminance
0.7393

Every format

HEX#f2ddb5
RGBrgb(242, 221, 181)
HSLhsl(39, 70%, 83%)
CMYKcmyk(0%, 9%, 25%, 5%)
LABlab(88.9 1.2 22.3)
LCHlch(88.9 22.3 87.0)
OKLCHoklch(0.905 0.057 83.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2ddb5 on white: 1.33:1
AA ✗ fail · AA-large · AAA
Aa
#f2ddb5 on black: 15.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green86.7%
Blue71.0%

CMYK percentages

Cyan0.0%
Magenta8.7%
Yellow25.2%
Key (black)5.1%

Color previews

#f2ddb5 text on a black background

contrast 15.79:1

Card sample

#f2ddb5 text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2ddb5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2ddb5 in the Color Lab