#faba2f
a balanced, electric yellow · warm · closest name: orange
RGB
250, 186, 47
HSL
41°, 95%, 58%
CMYK
0, 26, 81, 2
Luminance
0.5565
Every format
| HEX | #faba2f |
| RGB | rgb(250, 186, 47) |
| HSL | hsl(41, 95%, 58%) |
| CMYK | cmyk(0%, 26%, 81%, 2%) |
| LAB | lab(79.4 11.6 73.1) |
| LCH | lch(79.4 74.0 81.0) |
| OKLCH | oklch(0.827 0.159 81.3) |
Copy-ready code
/* CSS */
color: #faba2f;
background-color: #faba2f;
/* Tailwind (arbitrary) */
class="text-[#faba2f] bg-[#faba2f]"
/* SCSS */
$brand: #faba2f;
/* SwiftUI */
Color(red: 0.980, green: 0.729, blue: 0.184)
/* Android */
Color.parseColor("#faba2f")Accessibility — WCAG contrast
Aa
#faba2f on white: 1.73:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#faba2f on black: 12.13:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.0%
Green72.9%
Blue18.4%
CMYK percentages
Cyan0.0%
Magenta25.6%
Yellow81.2%
Key (black)2.0%
Color previews
#faba2f text on a black background
contrast 12.13:1
Card sample
#faba2f text on a white background
contrast 1.73:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #faba2f;
Background color
Panel with #faba2f background
background-color: #faba2f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #faba2f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(250, 186, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(250, 186, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #faba2f; background: linear-gradient(135deg, #faba2f, #B3FA2F);