#f2cdaf
a light, vivid orange · warm · closest name: tan
RGB
242, 205, 175
HSL
27°, 72%, 82%
CMYK
0, 15, 28, 5
Luminance
0.6564
Every format
| HEX | #f2cdaf |
| RGB | rgb(242, 205, 175) |
| HSL | hsl(27, 72%, 82%) |
| CMYK | cmyk(0%, 15%, 28%, 5%) |
| LAB | lab(84.8 8.7 19.8) |
| LCH | lch(84.8 21.6 66.4) |
| OKLCH | oklch(0.872 0.058 61.0) |
Copy-ready code
/* CSS */
color: #f2cdaf;
background-color: #f2cdaf;
/* Tailwind (arbitrary) */
class="text-[#f2cdaf] bg-[#f2cdaf]"
/* SCSS */
$brand: #f2cdaf;
/* SwiftUI */
Color(red: 0.949, green: 0.804, blue: 0.686)
/* Android */
Color.parseColor("#f2cdaf")Accessibility — WCAG contrast
Aa
#f2cdaf on white: 1.49:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f2cdaf on black: 14.13:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.9%
Green80.4%
Blue68.6%
CMYK percentages
Cyan0.0%
Magenta15.3%
Yellow27.7%
Key (black)5.1%
Color previews
#f2cdaf text on a black background
contrast 14.13:1
Card sample
#f2cdaf text on a white background
contrast 1.49:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f2cdaf;
Background color
Panel with #f2cdaf background
background-color: #f2cdaf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f2cdaf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(242, 205, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(242, 205, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f2cdaf; background: linear-gradient(135deg, #f2cdaf, #EAF2AF);