#f0cfba
a light, vivid orange · warm · closest name: tan
RGB
240, 207, 186
HSL
23°, 64%, 84%
CMYK
0, 14, 23, 6
Luminance
0.6670
Every format
| HEX | #f0cfba |
| RGB | rgb(240, 207, 186) |
| HSL | hsl(23, 64%, 84%) |
| CMYK | cmyk(0%, 14%, 23%, 6%) |
| LAB | lab(85.3 8.4 14.7) |
| LCH | lch(85.3 16.9 60.3) |
| OKLCH | oklch(0.877 0.047 54.4) |
Copy-ready code
/* CSS */
color: #f0cfba;
background-color: #f0cfba;
/* Tailwind (arbitrary) */
class="text-[#f0cfba] bg-[#f0cfba]"
/* SCSS */
$brand: #f0cfba;
/* SwiftUI */
Color(red: 0.941, green: 0.812, blue: 0.729)
/* Android */
Color.parseColor("#f0cfba")Accessibility — WCAG contrast
Aa
#f0cfba on white: 1.46:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f0cfba on black: 14.34:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green81.2%
Blue72.9%
CMYK percentages
Cyan0.0%
Magenta13.7%
Yellow22.5%
Key (black)5.9%
Color previews
#f0cfba text on a black background
contrast 14.34:1
Card sample
#f0cfba text on a white background
contrast 1.46:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f0cfba;
Background color
Panel with #f0cfba background
background-color: #f0cfba;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f0cfba;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 207, 186, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 207, 186, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0cfba; background: linear-gradient(135deg, #f0cfba, #EDF0BA);