#f0dfbc
a light, vivid yellow · warm · closest name: beige
RGB
240, 223, 188
HSL
40°, 63%, 84%
CMYK
0, 7, 22, 6
Luminance
0.7493
Every format
| HEX | #f0dfbc |
| RGB | rgb(240, 223, 188) |
| HSL | hsl(40, 63%, 84%) |
| CMYK | cmyk(0%, 7%, 22%, 6%) |
| LAB | lab(89.4 0.4 19.3) |
| LCH | lch(89.4 19.3 88.9) |
| OKLCH | oklch(0.908 0.050 85.1) |
Copy-ready code
/* CSS */
color: #f0dfbc;
background-color: #f0dfbc;
/* Tailwind (arbitrary) */
class="text-[#f0dfbc] bg-[#f0dfbc]"
/* SCSS */
$brand: #f0dfbc;
/* SwiftUI */
Color(red: 0.941, green: 0.875, blue: 0.737)
/* Android */
Color.parseColor("#f0dfbc")Accessibility — WCAG contrast
Aa
#f0dfbc on white: 1.31:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f0dfbc on black: 15.99:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green87.5%
Blue73.7%
CMYK percentages
Cyan0.0%
Magenta7.1%
Yellow21.7%
Key (black)5.9%
Color previews
#f0dfbc text on a black background
contrast 15.99:1
Card sample
#f0dfbc text on a white background
contrast 1.31:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f0dfbc;
Background color
Panel with #f0dfbc background
background-color: #f0dfbc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f0dfbc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 223, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 223, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0dfbc; background: linear-gradient(135deg, #f0dfbc, #DEF0BC);