#f0f4df
a pale, vivid green · cool · closest name: beige
RGB
240, 244, 223
HSL
71°, 49%, 92%
CMYK
2, 0, 9, 4
Luminance
0.8855
Every format
| HEX | #f0f4df |
| RGB | rgb(240, 244, 223) |
| HSL | hsl(71, 49%, 92%) |
| CMYK | cmyk(2%, 0%, 9%, 4%) |
| LAB | lab(95.4 -4.9 9.7) |
| LCH | lch(95.4 10.8 117.0) |
| OKLCH | oklch(0.959 0.028 115.7) |
Copy-ready code
/* CSS */
color: #f0f4df;
background-color: #f0f4df;
/* Tailwind (arbitrary) */
class="text-[#f0f4df] bg-[#f0f4df]"
/* SCSS */
$brand: #f0f4df;
/* SwiftUI */
Color(red: 0.941, green: 0.957, blue: 0.875)
/* Android */
Color.parseColor("#f0f4df")Accessibility — WCAG contrast
Aa
#f0f4df on white: 1.12:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f0f4df on black: 18.71:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green95.7%
Blue87.5%
CMYK percentages
Cyan1.6%
Magenta0.0%
Yellow8.6%
Key (black)4.3%
Color previews
#f0f4df text on a black background
contrast 18.71:1
Card sample
#f0f4df text on a white background
contrast 1.12:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f0f4df;
Background color
Panel with #f0f4df background
background-color: #f0f4df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f0f4df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 244, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 244, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0f4df; background: linear-gradient(135deg, #f0f4df, #E2F4DF);