#f0fdee
a pale, electric green · cool · closest name: ivory
RGB
240, 253, 238
HSL
112°, 79%, 96%
CMYK
5, 0, 6, 1
Luminance
0.9495
Every format
| HEX | #f0fdee |
| RGB | rgb(240, 253, 238) |
| HSL | hsl(112, 79%, 96%) |
| CMYK | cmyk(5%, 0%, 6%, 1%) |
| LAB | lab(98.0 -6.9 5.7) |
| LCH | lch(98.0 9.0 140.5) |
| OKLCH | oklch(0.980 0.024 141.5) |
Copy-ready code
/* CSS */
color: #f0fdee;
background-color: #f0fdee;
/* Tailwind (arbitrary) */
class="text-[#f0fdee] bg-[#f0fdee]"
/* SCSS */
$brand: #f0fdee;
/* SwiftUI */
Color(red: 0.941, green: 0.992, blue: 0.933)
/* Android */
Color.parseColor("#f0fdee")Accessibility — WCAG contrast
Aa
#f0fdee on white: 1.05:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f0fdee on black: 19.99:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green99.2%
Blue93.3%
CMYK percentages
Cyan5.1%
Magenta0.0%
Yellow5.9%
Key (black)0.8%
Color previews
#f0fdee text on a black background
contrast 19.99:1
Card sample
#f0fdee text on a white background
contrast 1.05:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f0fdee;
Background color
Panel with #f0fdee background
background-color: #f0fdee;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f0fdee;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 253, 238, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 253, 238, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0fdee; background: linear-gradient(135deg, #f0fdee, #EEFDF6);