#f2efdf
a pale, soft yellow · cool · closest name: beige
RGB
242, 239, 223
HSL
51°, 42%, 91%
CMYK
0, 1, 8, 5
Luminance
0.8594
Every format
| HEX | #f2efdf |
| RGB | rgb(242, 239, 223) |
| HSL | hsl(51, 42%, 91%) |
| CMYK | cmyk(0%, 1%, 8%, 5%) |
| LAB | lab(94.3 -1.7 8.1) |
| LCH | lch(94.3 8.3 101.9) |
| OKLCH | oklch(0.950 0.021 98.1) |
Copy-ready code
/* CSS */
color: #f2efdf;
background-color: #f2efdf;
/* Tailwind (arbitrary) */
class="text-[#f2efdf] bg-[#f2efdf]"
/* SCSS */
$brand: #f2efdf;
/* SwiftUI */
Color(red: 0.949, green: 0.937, blue: 0.875)
/* Android */
Color.parseColor("#f2efdf")Accessibility — WCAG contrast
Aa
#f2efdf on white: 1.15:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f2efdf on black: 18.19:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.9%
Green93.7%
Blue87.5%
CMYK percentages
Cyan0.0%
Magenta1.2%
Yellow7.9%
Key (black)5.1%
Color previews
#f2efdf text on a black background
contrast 18.19:1
Card sample
#f2efdf text on a white background
contrast 1.15:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f2efdf;
Background color
Panel with #f2efdf background
background-color: #f2efdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f2efdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(242, 239, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(242, 239, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f2efdf; background: linear-gradient(135deg, #f2efdf, #E8F2DF);