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