#f2dec8
a pale, vivid orange · warm · closest name: beige
RGB
242, 222, 200
HSL
31°, 62%, 87%
CMYK
0, 8, 17, 5
Luminance
0.7529
Every format
| HEX | #f2dec8 |
| RGB | rgb(242, 222, 200) |
| HSL | hsl(31, 62%, 87%) |
| CMYK | cmyk(0%, 8%, 17%, 5%) |
| LAB | lab(89.5 3.4 13.3) |
| LCH | lch(89.5 13.7 75.8) |
| OKLCH | oklch(0.911 0.037 70.0) |
Copy-ready code
/* CSS */
color: #f2dec8;
background-color: #f2dec8;
/* Tailwind (arbitrary) */
class="text-[#f2dec8] bg-[#f2dec8]"
/* SCSS */
$brand: #f2dec8;
/* SwiftUI */
Color(red: 0.949, green: 0.871, blue: 0.784)
/* Android */
Color.parseColor("#f2dec8")Accessibility — WCAG contrast
Aa
#f2dec8 on white: 1.31:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f2dec8 on black: 16.06:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.9%
Green87.1%
Blue78.4%
CMYK percentages
Cyan0.0%
Magenta8.3%
Yellow17.4%
Key (black)5.1%
Color previews
#f2dec8 text on a black background
contrast 16.06:1
Card sample
#f2dec8 text on a white background
contrast 1.31:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f2dec8;
Background color
Panel with #f2dec8 background
background-color: #f2dec8;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f2dec8;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(242, 222, 200, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(242, 222, 200, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f2dec8; background: linear-gradient(135deg, #f2dec8, #EAF2C8);