#f0cfac
a light, vivid orange · warm · closest name: tan
RGB
240, 207, 172
HSL
31°, 69%, 81%
CMYK
0, 14, 28, 6
Luminance
0.6613
Every format
| HEX | #f0cfac |
| RGB | rgb(240, 207, 172) |
| HSL | hsl(31, 69%, 81%) |
| CMYK | cmyk(0%, 14%, 28%, 6%) |
| LAB | lab(85.1 6.5 21.7) |
| LCH | lch(85.1 22.6 73.4) |
| OKLCH | oklch(0.874 0.059 68.6) |
Copy-ready code
/* CSS */
color: #f0cfac;
background-color: #f0cfac;
/* Tailwind (arbitrary) */
class="text-[#f0cfac] bg-[#f0cfac]"
/* SCSS */
$brand: #f0cfac;
/* SwiftUI */
Color(red: 0.941, green: 0.812, blue: 0.675)
/* Android */
Color.parseColor("#f0cfac")Accessibility — WCAG contrast
Aa
#f0cfac on white: 1.48:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f0cfac on black: 14.23:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green81.2%
Blue67.5%
CMYK percentages
Cyan0.0%
Magenta13.7%
Yellow28.3%
Key (black)5.9%
Color previews
#f0cfac text on a black background
contrast 14.23:1
Card sample
#f0cfac text on a white background
contrast 1.48:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f0cfac;
Background color
Panel with #f0cfac background
background-color: #f0cfac;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f0cfac;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 207, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 207, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0cfac; background: linear-gradient(135deg, #f0cfac, #E4F0AC);