#f7df13
a balanced, electric yellow · cool · closest name: gold
RGB
247, 223, 19
HSL
54°, 93%, 52%
CMYK
0, 10, 92, 3
Luminance
0.7260
Every format
| HEX | #f7df13 |
| RGB | rgb(247, 223, 19) |
| HSL | hsl(54, 93%, 52%) |
| CMYK | cmyk(0%, 10%, 92%, 3%) |
| LAB | lab(88.3 -9.2 86.0) |
| LCH | lch(88.3 86.5 96.1) |
| OKLCH | oklch(0.896 0.185 101.4) |
Copy-ready code
/* CSS */
color: #f7df13;
background-color: #f7df13;
/* Tailwind (arbitrary) */
class="text-[#f7df13] bg-[#f7df13]"
/* SCSS */
$brand: #f7df13;
/* SwiftUI */
Color(red: 0.969, green: 0.875, blue: 0.075)
/* Android */
Color.parseColor("#f7df13")Accessibility — WCAG contrast
Aa
#f7df13 on white: 1.35:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f7df13 on black: 15.52:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red96.9%
Green87.5%
Blue7.5%
CMYK percentages
Cyan0.0%
Magenta9.7%
Yellow92.3%
Key (black)3.1%
Color previews
#f7df13 text on a black background
contrast 15.52:1
Card sample
#f7df13 text on a white background
contrast 1.35:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f7df13;
Background color
Panel with #f7df13 background
background-color: #f7df13;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f7df13;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(247, 223, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(247, 223, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f7df13; background: linear-gradient(135deg, #f7df13, #77F713);