#f0f4cf
a pale, vivid yellow · cool · closest name: beige
RGB
240, 244, 207
HSL
67°, 63%, 88%
CMYK
2, 0, 15, 4
Luminance
0.8773
Every format
| HEX | #f0f4cf |
| RGB | rgb(240, 244, 207) |
| HSL | hsl(67, 63%, 88%) |
| CMYK | cmyk(2%, 0%, 15%, 4%) |
| LAB | lab(95.0 -7.5 17.4) |
| LCH | lch(95.0 18.9 113.2) |
| OKLCH | oklch(0.955 0.049 112.3) |
Copy-ready code
/* CSS */
color: #f0f4cf;
background-color: #f0f4cf;
/* Tailwind (arbitrary) */
class="text-[#f0f4cf] bg-[#f0f4cf]"
/* SCSS */
$brand: #f0f4cf;
/* SwiftUI */
Color(red: 0.941, green: 0.957, blue: 0.812)
/* Android */
Color.parseColor("#f0f4cf")Accessibility — WCAG contrast
Aa
#f0f4cf on white: 1.13:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f0f4cf on black: 18.55:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green95.7%
Blue81.2%
CMYK percentages
Cyan1.6%
Magenta0.0%
Yellow15.2%
Key (black)4.3%
Color previews
#f0f4cf text on a black background
contrast 18.55:1
Card sample
#f0f4cf text on a white background
contrast 1.13:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f0f4cf;
Background color
Panel with #f0f4cf background
background-color: #f0f4cf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f0f4cf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 244, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 244, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0f4cf; background: linear-gradient(135deg, #f0f4cf, #D7F4CF);