#f0cbab
a light, vivid orange · warm · closest name: tan
RGB
240, 203, 171
HSL
28°, 70%, 81%
CMYK
0, 15, 29, 6
Luminance
0.6418
Every format
| HEX | #f0cbab |
| RGB | rgb(240, 203, 171) |
| HSL | hsl(28, 70%, 81%) |
| CMYK | cmyk(0%, 15%, 29%, 6%) |
| LAB | lab(84.1 8.4 20.8) |
| LCH | lch(84.1 22.5 68.0) |
| OKLCH | oklch(0.866 0.060 62.8) |
Copy-ready code
/* CSS */
color: #f0cbab;
background-color: #f0cbab;
/* Tailwind (arbitrary) */
class="text-[#f0cbab] bg-[#f0cbab]"
/* SCSS */
$brand: #f0cbab;
/* SwiftUI */
Color(red: 0.941, green: 0.796, blue: 0.671)
/* Android */
Color.parseColor("#f0cbab")Accessibility — WCAG contrast
Aa
#f0cbab on white: 1.52:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f0cbab on black: 13.84:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green79.6%
Blue67.1%
CMYK percentages
Cyan0.0%
Magenta15.4%
Yellow28.8%
Key (black)5.9%
Color previews
#f0cbab text on a black background
contrast 13.84:1
Card sample
#f0cbab text on a white background
contrast 1.52:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f0cbab;
Background color
Panel with #f0cbab background
background-color: #f0cbab;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f0cbab;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 203, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 203, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0cbab; background: linear-gradient(135deg, #f0cbab, #E7F0AB);