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