#f0fecf
a pale, electric green · cool · closest name: beige
RGB
240, 254, 207
HSL
78°, 96%, 90%
CMYK
6, 0, 19, 0
Luminance
0.9391
Every format
| HEX | #f0fecf |
| RGB | rgb(240, 254, 207) |
| HSL | hsl(78, 96%, 90%) |
| CMYK | cmyk(6%, 0%, 19%, 0%) |
| LAB | lab(97.6 -12.4 21.0) |
| LCH | lch(97.6 24.4 120.6) |
| OKLCH | oklch(0.975 0.063 121.0) |
Copy-ready code
/* CSS */
color: #f0fecf;
background-color: #f0fecf;
/* Tailwind (arbitrary) */
class="text-[#f0fecf] bg-[#f0fecf]"
/* SCSS */
$brand: #f0fecf;
/* SwiftUI */
Color(red: 0.941, green: 0.996, blue: 0.812)
/* Android */
Color.parseColor("#f0fecf")Accessibility — WCAG contrast
Aa
#f0fecf on white: 1.06:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f0fecf on black: 19.78:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green99.6%
Blue81.2%
CMYK percentages
Cyan5.5%
Magenta0.0%
Yellow18.5%
Key (black)0.4%
Color previews
#f0fecf text on a black background
contrast 19.78:1
Card sample
#f0fecf text on a white background
contrast 1.06:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f0fecf;
Background color
Panel with #f0fecf background
background-color: #f0fecf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f0fecf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 254, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 254, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0fecf; background: linear-gradient(135deg, #f0fecf, #D1FECF);