#f0ffeb
a pale, electric green · cool · closest name: ivory
RGB
240, 255, 235
HSL
105°, 100%, 96%
CMYK
6, 0, 8, 0
Luminance
0.9604
Every format
| HEX | #f0ffeb |
| RGB | rgb(240, 255, 235) |
| HSL | hsl(105, 100%, 96%) |
| CMYK | cmyk(6%, 0%, 8%, 0%) |
| LAB | lab(98.5 -8.4 7.9) |
| LCH | lch(98.5 11.5 137.0) |
| OKLCH | oklch(0.984 0.031 137.8) |
Copy-ready code
/* CSS */
color: #f0ffeb;
background-color: #f0ffeb;
/* Tailwind (arbitrary) */
class="text-[#f0ffeb] bg-[#f0ffeb]"
/* SCSS */
$brand: #f0ffeb;
/* SwiftUI */
Color(red: 0.941, green: 1.000, blue: 0.922)
/* Android */
Color.parseColor("#f0ffeb")Accessibility — WCAG contrast
Aa
#f0ffeb on white: 1.04:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f0ffeb on black: 20.21:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green100.0%
Blue92.2%
CMYK percentages
Cyan5.9%
Magenta0.0%
Yellow7.8%
Key (black)0.0%
Color previews
#f0ffeb text on a black background
contrast 20.21:1
Card sample
#f0ffeb text on a white background
contrast 1.04:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f0ffeb;
Background color
Panel with #f0ffeb background
background-color: #f0ffeb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f0ffeb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 255, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 255, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0ffeb; background: linear-gradient(135deg, #f0ffeb, #EBFFF3);