#fadb2c
a balanced, electric yellow · cool · closest name: gold
RGB
250, 219, 44
HSL
51°, 95%, 58%
CMYK
0, 12, 82, 2
Luminance
0.7117
Every format
| HEX | #fadb2c |
| RGB | rgb(250, 219, 44) |
| HSL | hsl(51, 95%, 58%) |
| CMYK | cmyk(0%, 12%, 82%, 2%) |
| LAB | lab(87.6 -5.4 80.9) |
| LCH | lch(87.6 81.1 93.8) |
| OKLCH | oklch(0.891 0.175 98.1) |
Copy-ready code
/* CSS */
color: #fadb2c;
background-color: #fadb2c;
/* Tailwind (arbitrary) */
class="text-[#fadb2c] bg-[#fadb2c]"
/* SCSS */
$brand: #fadb2c;
/* SwiftUI */
Color(red: 0.980, green: 0.859, blue: 0.173)
/* Android */
Color.parseColor("#fadb2c")Accessibility — WCAG contrast
Aa
#fadb2c on white: 1.38:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fadb2c on black: 15.23:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.0%
Green85.9%
Blue17.3%
CMYK percentages
Cyan0.0%
Magenta12.4%
Yellow82.4%
Key (black)2.0%
Color previews
#fadb2c text on a black background
contrast 15.23:1
Card sample
#fadb2c text on a white background
contrast 1.38:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fadb2c;
Background color
Panel with #fadb2c background
background-color: #fadb2c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fadb2c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(250, 219, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(250, 219, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fadb2c; background: linear-gradient(135deg, #fadb2c, #8FFA2C);