#f0ebda
a pale, soft yellow · cool · closest name: beige
RGB
240, 235, 218
HSL
46°, 42%, 90%
CMYK
0, 2, 9, 6
Luminance
0.8300
Every format
| HEX | #f0ebda |
| RGB | rgb(240, 235, 218) |
| HSL | hsl(46, 42%, 90%) |
| CMYK | cmyk(0%, 2%, 9%, 6%) |
| LAB | lab(93.0 -1.2 8.8) |
| LCH | lch(93.0 8.9 97.7) |
| OKLCH | oklch(0.939 0.023 93.3) |
Copy-ready code
/* CSS */
color: #f0ebda;
background-color: #f0ebda;
/* Tailwind (arbitrary) */
class="text-[#f0ebda] bg-[#f0ebda]"
/* SCSS */
$brand: #f0ebda;
/* SwiftUI */
Color(red: 0.941, green: 0.922, blue: 0.855)
/* Android */
Color.parseColor("#f0ebda")Accessibility — WCAG contrast
Aa
#f0ebda on white: 1.19:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f0ebda on black: 17.60:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green92.2%
Blue85.5%
CMYK percentages
Cyan0.0%
Magenta2.1%
Yellow9.2%
Key (black)5.9%
Color previews
#f0ebda text on a black background
contrast 17.60:1
Card sample
#f0ebda text on a white background
contrast 1.19:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f0ebda;
Background color
Panel with #f0ebda background
background-color: #f0ebda;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f0ebda;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 235, 218, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 235, 218, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0ebda; background: linear-gradient(135deg, #f0ebda, #E6F0DA);