#f0ba7c
a light, electric orange · warm · closest name: tan
RGB
240, 186, 124
HSL
32°, 80%, 71%
CMYK
0, 23, 48, 6
Luminance
0.5510
Every format
| HEX | #f0ba7c |
| RGB | rgb(240, 186, 124) |
| HSL | hsl(32, 80%, 71%) |
| CMYK | cmyk(0%, 23%, 48%, 6%) |
| LAB | lab(79.1 12.1 38.8) |
| LCH | lch(79.1 40.6 72.7) |
| OKLCH | oklch(0.824 0.101 69.5) |
Copy-ready code
/* CSS */
color: #f0ba7c;
background-color: #f0ba7c;
/* Tailwind (arbitrary) */
class="text-[#f0ba7c] bg-[#f0ba7c]"
/* SCSS */
$brand: #f0ba7c;
/* SwiftUI */
Color(red: 0.941, green: 0.729, blue: 0.486)
/* Android */
Color.parseColor("#f0ba7c")Accessibility — WCAG contrast
Aa
#f0ba7c on white: 1.75:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f0ba7c on black: 12.02:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green72.9%
Blue48.6%
CMYK percentages
Cyan0.0%
Magenta22.5%
Yellow48.3%
Key (black)5.9%
Color previews
#f0ba7c text on a black background
contrast 12.02:1
Card sample
#f0ba7c text on a white background
contrast 1.75:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f0ba7c;
Background color
Panel with #f0ba7c background
background-color: #f0ba7c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f0ba7c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 186, 124, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 186, 124, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0ba7c; background: linear-gradient(135deg, #f0ba7c, #D9F07C);