#f0c285
a light, electric orange · warm · closest name: tan
RGB
240, 194, 133
HSL
34°, 78%, 73%
CMYK
0, 19, 45, 6
Luminance
0.5880
Every format
| HEX | #f0c285 |
| RGB | rgb(240, 194, 133) |
| HSL | hsl(34, 78%, 73%) |
| CMYK | cmyk(0%, 19%, 45%, 6%) |
| LAB | lab(81.2 8.7 36.8) |
| LCH | lch(81.2 37.9 76.7) |
| OKLCH | oklch(0.841 0.094 73.8) |
Copy-ready code
/* CSS */
color: #f0c285;
background-color: #f0c285;
/* Tailwind (arbitrary) */
class="text-[#f0c285] bg-[#f0c285]"
/* SCSS */
$brand: #f0c285;
/* SwiftUI */
Color(red: 0.941, green: 0.761, blue: 0.522)
/* Android */
Color.parseColor("#f0c285")Accessibility — WCAG contrast
Aa
#f0c285 on white: 1.65:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f0c285 on black: 12.76:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green76.1%
Blue52.2%
CMYK percentages
Cyan0.0%
Magenta19.2%
Yellow44.6%
Key (black)5.9%
Color previews
#f0c285 text on a black background
contrast 12.76:1
Card sample
#f0c285 text on a white background
contrast 1.65:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f0c285;
Background color
Panel with #f0c285 background
background-color: #f0c285;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f0c285;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 194, 133, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 194, 133, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0c285; background: linear-gradient(135deg, #f0c285, #D7F085);