#f0daac
a light, vivid yellow · warm · closest name: tan
RGB
240, 218, 172
HSL
41°, 69%, 81%
CMYK
0, 9, 28, 6
Luminance
0.7165
Every format
| HEX | #f0daac |
| RGB | rgb(240, 218, 172) |
| HSL | hsl(41, 69%, 81%) |
| CMYK | cmyk(0%, 9%, 28%, 6%) |
| LAB | lab(87.8 0.8 25.4) |
| LCH | lch(87.8 25.4 88.3) |
| OKLCH | oklch(0.895 0.065 85.4) |
Copy-ready code
/* CSS */
color: #f0daac;
background-color: #f0daac;
/* Tailwind (arbitrary) */
class="text-[#f0daac] bg-[#f0daac]"
/* SCSS */
$brand: #f0daac;
/* SwiftUI */
Color(red: 0.941, green: 0.855, blue: 0.675)
/* Android */
Color.parseColor("#f0daac")Accessibility — WCAG contrast
Aa
#f0daac on white: 1.37:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f0daac on black: 15.33:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green85.5%
Blue67.5%
CMYK percentages
Cyan0.0%
Magenta9.2%
Yellow28.3%
Key (black)5.9%
Color previews
#f0daac text on a black background
contrast 15.33:1
Card sample
#f0daac text on a white background
contrast 1.37:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f0daac;
Background color
Panel with #f0daac background
background-color: #f0daac;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f0daac;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 218, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 218, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0daac; background: linear-gradient(135deg, #f0daac, #D9F0AC);