#f0be13
a balanced, electric yellow · cool · closest name: gold
RGB
240, 190, 19
HSL
46°, 88%, 51%
CMYK
0, 21, 92, 6
Luminance
0.5540
Every format
| HEX | #f0be13 |
| RGB | rgb(240, 190, 19) |
| HSL | hsl(46, 88%, 51%) |
| CMYK | cmyk(0%, 21%, 92%, 6%) |
| LAB | lab(79.3 4.7 79.0) |
| LCH | lch(79.3 79.1 86.6) |
| OKLCH | oklch(0.823 0.165 89.1) |
Copy-ready code
/* CSS */
color: #f0be13;
background-color: #f0be13;
/* Tailwind (arbitrary) */
class="text-[#f0be13] bg-[#f0be13]"
/* SCSS */
$brand: #f0be13;
/* SwiftUI */
Color(red: 0.941, green: 0.745, blue: 0.075)
/* Android */
Color.parseColor("#f0be13")Accessibility — WCAG contrast
Aa
#f0be13 on white: 1.74:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f0be13 on black: 12.08:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green74.5%
Blue7.5%
CMYK percentages
Cyan0.0%
Magenta20.8%
Yellow92.1%
Key (black)5.9%
Color previews
#f0be13 text on a black background
contrast 12.08:1
Card sample
#f0be13 text on a white background
contrast 1.74:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f0be13;
Background color
Panel with #f0be13 background
background-color: #f0be13;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f0be13;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 190, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 190, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0be13; background: linear-gradient(135deg, #f0be13, #8FF013);