#f2af3d
a balanced, electric orange · warm · closest name: orange
RGB
242, 175, 61
HSL
38°, 87%, 59%
CMYK
0, 28, 75, 5
Luminance
0.4987
Every format
| HEX | #f2af3d |
| RGB | rgb(242, 175, 61) |
| HSL | hsl(38, 87%, 59%) |
| CMYK | cmyk(0%, 28%, 75%, 5%) |
| LAB | lab(76.0 14.5 64.7) |
| LCH | lch(76.0 66.3 77.4) |
| OKLCH | oklch(0.798 0.146 76.5) |
Copy-ready code
/* CSS */
color: #f2af3d;
background-color: #f2af3d;
/* Tailwind (arbitrary) */
class="text-[#f2af3d] bg-[#f2af3d]"
/* SCSS */
$brand: #f2af3d;
/* SwiftUI */
Color(red: 0.949, green: 0.686, blue: 0.239)
/* Android */
Color.parseColor("#f2af3d")Accessibility — WCAG contrast
Aa
#f2af3d on white: 1.91:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f2af3d on black: 10.97:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.9%
Green68.6%
Blue23.9%
CMYK percentages
Cyan0.0%
Magenta27.7%
Yellow74.8%
Key (black)5.1%
Color previews
#f2af3d text on a black background
contrast 10.97:1
Card sample
#f2af3d text on a white background
contrast 1.91:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f2af3d;
Background color
Panel with #f2af3d background
background-color: #f2af3d;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f2af3d;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(242, 175, 61, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(242, 175, 61, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f2af3d; background: linear-gradient(135deg, #f2af3d, #BCF23D);