#f0fbdf
a pale, electric green · cool · closest name: beige
RGB
240, 251, 223
HSL
84°, 78%, 93%
CMYK
4, 0, 11, 2
Luminance
0.9285
Every format
| HEX | #f0fbdf |
| RGB | rgb(240, 251, 223) |
| HSL | hsl(84, 78%, 93%) |
| CMYK | cmyk(4%, 0%, 11%, 2%) |
| LAB | lab(97.2 -8.4 12.2) |
| LCH | lch(97.2 14.8 124.7) |
| OKLCH | oklch(0.973 0.038 124.6) |
Copy-ready code
/* CSS */
color: #f0fbdf;
background-color: #f0fbdf;
/* Tailwind (arbitrary) */
class="text-[#f0fbdf] bg-[#f0fbdf]"
/* SCSS */
$brand: #f0fbdf;
/* SwiftUI */
Color(red: 0.941, green: 0.984, blue: 0.875)
/* Android */
Color.parseColor("#f0fbdf")Accessibility — WCAG contrast
Aa
#f0fbdf on white: 1.07:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f0fbdf on black: 19.57:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green98.4%
Blue87.5%
CMYK percentages
Cyan4.4%
Magenta0.0%
Yellow11.2%
Key (black)1.6%
Color previews
#f0fbdf text on a black background
contrast 19.57:1
Card sample
#f0fbdf text on a white background
contrast 1.07:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f0fbdf;
Background color
Panel with #f0fbdf background
background-color: #f0fbdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f0fbdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 251, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 251, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0fbdf; background: linear-gradient(135deg, #f0fbdf, #DFFBE0);