#f0cdac
a light, vivid orange · warm · closest name: tan
RGB
240, 205, 172
HSL
29°, 69%, 81%
CMYK
0, 15, 28, 6
Luminance
0.6517
Every format
| HEX | #f0cdac |
| RGB | rgb(240, 205, 172) |
| HSL | hsl(29, 69%, 81%) |
| CMYK | cmyk(0%, 15%, 28%, 6%) |
| LAB | lab(84.6 7.5 21.0) |
| LCH | lch(84.6 22.3 70.4) |
| OKLCH | oklch(0.870 0.059 65.2) |
Copy-ready code
/* CSS */
color: #f0cdac;
background-color: #f0cdac;
/* Tailwind (arbitrary) */
class="text-[#f0cdac] bg-[#f0cdac]"
/* SCSS */
$brand: #f0cdac;
/* SwiftUI */
Color(red: 0.941, green: 0.804, blue: 0.675)
/* Android */
Color.parseColor("#f0cdac")Accessibility — WCAG contrast
Aa
#f0cdac on white: 1.50:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f0cdac on black: 14.03:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green80.4%
Blue67.5%
CMYK percentages
Cyan0.0%
Magenta14.6%
Yellow28.3%
Key (black)5.9%
Color previews
#f0cdac text on a black background
contrast 14.03:1
Card sample
#f0cdac text on a white background
contrast 1.50:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f0cdac;
Background color
Panel with #f0cdac background
background-color: #f0cdac;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f0cdac;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 205, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 205, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0cdac; background: linear-gradient(135deg, #f0cdac, #E6F0AC);