#fbdf08
a balanced, electric yellow · cool · closest name: gold
RGB
251, 223, 8
HSL
53°, 97%, 51%
CMYK
0, 11, 97, 2
Luminance
0.7330
Every format
| HEX | #fbdf08 |
| RGB | rgb(251, 223, 8) |
| HSL | hsl(53, 97%, 51%) |
| CMYK | cmyk(0%, 11%, 97%, 2%) |
| LAB | lab(88.6 -7.6 87.5) |
| LCH | lch(88.6 87.8 95.0) |
| OKLCH | oklch(0.899 0.186 100.0) |
Copy-ready code
/* CSS */
color: #fbdf08;
background-color: #fbdf08;
/* Tailwind (arbitrary) */
class="text-[#fbdf08] bg-[#fbdf08]"
/* SCSS */
$brand: #fbdf08;
/* SwiftUI */
Color(red: 0.984, green: 0.875, blue: 0.031)
/* Android */
Color.parseColor("#fbdf08")Accessibility — WCAG contrast
Aa
#fbdf08 on white: 1.34:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fbdf08 on black: 15.66:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.4%
Green87.5%
Blue3.1%
CMYK percentages
Cyan0.0%
Magenta11.2%
Yellow96.8%
Key (black)1.6%
Color previews
#fbdf08 text on a black background
contrast 15.66:1
Card sample
#fbdf08 text on a white background
contrast 1.34:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fbdf08;
Background color
Panel with #fbdf08 background
background-color: #fbdf08;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fbdf08;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(251, 223, 8, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(251, 223, 8, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fbdf08; background: linear-gradient(135deg, #fbdf08, #75FB08);