#f2cfba
a light, vivid orange · warm · closest name: tan
RGB
242, 207, 186
HSL
23°, 68%, 84%
CMYK
0, 15, 23, 5
Luminance
0.6705
Every format
| HEX | #f2cfba |
| RGB | rgb(242, 207, 186) |
| HSL | hsl(23, 68%, 84%) |
| CMYK | cmyk(0%, 15%, 23%, 5%) |
| LAB | lab(85.5 9.1 15.0) |
| LCH | lch(85.5 17.5 58.7) |
| OKLCH | oklch(0.879 0.049 52.8) |
Copy-ready code
/* CSS */
color: #f2cfba;
background-color: #f2cfba;
/* Tailwind (arbitrary) */
class="text-[#f2cfba] bg-[#f2cfba]"
/* SCSS */
$brand: #f2cfba;
/* SwiftUI */
Color(red: 0.949, green: 0.812, blue: 0.729)
/* Android */
Color.parseColor("#f2cfba")Accessibility — WCAG contrast
Aa
#f2cfba on white: 1.46:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f2cfba on black: 14.41:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.9%
Green81.2%
Blue72.9%
CMYK percentages
Cyan0.0%
Magenta14.5%
Yellow23.1%
Key (black)5.1%
Color previews
#f2cfba text on a black background
contrast 14.41:1
Card sample
#f2cfba text on a white background
contrast 1.46:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f2cfba;
Background color
Panel with #f2cfba background
background-color: #f2cfba;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f2cfba;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(242, 207, 186, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(242, 207, 186, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f2cfba; background: linear-gradient(135deg, #f2cfba, #F0F2BA);