#f0efdf
a pale, soft yellow · cool · closest name: beige
RGB
240, 239, 223
HSL
57°, 36%, 91%
CMYK
0, 0, 7, 6
Luminance
0.8559
Every format
| HEX | #f0efdf |
| RGB | rgb(240, 239, 223) |
| HSL | hsl(57, 36%, 91%) |
| CMYK | cmyk(0%, 0%, 7%, 6%) |
| LAB | lab(94.1 -2.4 7.8) |
| LCH | lch(94.1 8.2 107.0) |
| OKLCH | oklch(0.949 0.021 103.9) |
Copy-ready code
/* CSS */
color: #f0efdf;
background-color: #f0efdf;
/* Tailwind (arbitrary) */
class="text-[#f0efdf] bg-[#f0efdf]"
/* SCSS */
$brand: #f0efdf;
/* SwiftUI */
Color(red: 0.941, green: 0.937, blue: 0.875)
/* Android */
Color.parseColor("#f0efdf")Accessibility — WCAG contrast
Aa
#f0efdf on white: 1.16:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f0efdf on black: 18.12:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green93.7%
Blue87.5%
CMYK percentages
Cyan0.0%
Magenta0.4%
Yellow7.1%
Key (black)5.9%
Color previews
#f0efdf text on a black background
contrast 18.12:1
Card sample
#f0efdf text on a white background
contrast 1.16:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f0efdf;
Background color
Panel with #f0efdf background
background-color: #f0efdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f0efdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 239, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 239, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0efdf; background: linear-gradient(135deg, #f0efdf, #E6F0DF);