#f8cfab
a light, electric orange · warm · closest name: tan
RGB
248, 207, 171
HSL
28°, 85%, 82%
CMYK
0, 17, 31, 3
Luminance
0.6752
Every format
| HEX | #f8cfab |
| RGB | rgb(248, 207, 171) |
| HSL | hsl(28, 85%, 82%) |
| CMYK | cmyk(0%, 17%, 31%, 3%) |
| LAB | lab(85.8 9.4 23.3) |
| LCH | lch(85.8 25.1 68.1) |
| OKLCH | oklch(0.881 0.066 63.1) |
Copy-ready code
/* CSS */
color: #f8cfab;
background-color: #f8cfab;
/* Tailwind (arbitrary) */
class="text-[#f8cfab] bg-[#f8cfab]"
/* SCSS */
$brand: #f8cfab;
/* SwiftUI */
Color(red: 0.973, green: 0.812, blue: 0.671)
/* Android */
Color.parseColor("#f8cfab")Accessibility — WCAG contrast
Aa
#f8cfab on white: 1.45:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f8cfab on black: 14.50:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red97.3%
Green81.2%
Blue67.1%
CMYK percentages
Cyan0.0%
Magenta16.5%
Yellow31.0%
Key (black)2.7%
Color previews
#f8cfab text on a black background
contrast 14.50:1
Card sample
#f8cfab text on a white background
contrast 1.45:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f8cfab;
Background color
Panel with #f8cfab background
background-color: #f8cfab;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f8cfab;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(248, 207, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(248, 207, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f8cfab; background: linear-gradient(135deg, #f8cfab, #EEF8AB);