#f0af7c
a light, electric orange · warm · closest name: tan
RGB
240, 175, 124
HSL
26°, 80%, 71%
CMYK
0, 27, 48, 6
Luminance
0.5064
Every format
| HEX | #f0af7c |
| RGB | rgb(240, 175, 124) |
| HSL | hsl(26, 80%, 71%) |
| CMYK | cmyk(0%, 27%, 48%, 6%) |
| LAB | lab(76.5 17.9 35.4) |
| LCH | lch(76.5 39.7 63.2) |
| OKLCH | oklch(0.804 0.101 58.8) |
Copy-ready code
/* CSS */
color: #f0af7c;
background-color: #f0af7c;
/* Tailwind (arbitrary) */
class="text-[#f0af7c] bg-[#f0af7c]"
/* SCSS */
$brand: #f0af7c;
/* SwiftUI */
Color(red: 0.941, green: 0.686, blue: 0.486)
/* Android */
Color.parseColor("#f0af7c")Accessibility — WCAG contrast
Aa
#f0af7c on white: 1.89:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f0af7c on black: 11.13:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green68.6%
Blue48.6%
CMYK percentages
Cyan0.0%
Magenta27.1%
Yellow48.3%
Key (black)5.9%
Color previews
#f0af7c text on a black background
contrast 11.13:1
Card sample
#f0af7c text on a white background
contrast 1.89:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f0af7c;
Background color
Panel with #f0af7c background
background-color: #f0af7c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f0af7c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 175, 124, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 175, 124, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0af7c; background: linear-gradient(135deg, #f0af7c, #E4F07C);