#f0decc
a pale, vivid orange · warm · closest name: beige
RGB
240, 222, 204
HSL
30°, 55%, 87%
CMYK
0, 8, 15, 6
Luminance
0.7513
Every format
| HEX | #f0decc |
| RGB | rgb(240, 222, 204) |
| HSL | hsl(30, 55%, 87%) |
| CMYK | cmyk(0%, 8%, 15%, 6%) |
| LAB | lab(89.5 3.3 11.1) |
| LCH | lch(89.5 11.5 73.6) |
| OKLCH | oklch(0.910 0.031 67.4) |
Copy-ready code
/* CSS */
color: #f0decc;
background-color: #f0decc;
/* Tailwind (arbitrary) */
class="text-[#f0decc] bg-[#f0decc]"
/* SCSS */
$brand: #f0decc;
/* SwiftUI */
Color(red: 0.941, green: 0.871, blue: 0.800)
/* Android */
Color.parseColor("#f0decc")Accessibility — WCAG contrast
Aa
#f0decc on white: 1.31:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f0decc on black: 16.03:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green87.1%
Blue80.0%
CMYK percentages
Cyan0.0%
Magenta7.5%
Yellow15.0%
Key (black)5.9%
Color previews
#f0decc text on a black background
contrast 16.03:1
Card sample
#f0decc text on a white background
contrast 1.31:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f0decc;
Background color
Panel with #f0decc background
background-color: #f0decc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f0decc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 222, 204, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 222, 204, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0decc; background: linear-gradient(135deg, #f0decc, #EAF0CC);