#ffda16
a balanced, electric yellow · cool · “gold”
RGB
255, 218, 22
HSL
51°, 100%, 54%
CMYK
0, 15, 91, 0
Luminance
0.7146
Every format
| HEX | #ffda16 |
| RGB | rgb(255, 218, 22) |
| HSL | hsl(51, 100%, 54%) |
| CMYK | cmyk(0%, 15%, 91%, 0%) |
| LAB | lab(87.7 -3.2 85.5) |
| LCH | lch(87.7 85.6 92.2) |
| OKLCH | oklch(0.893 0.181 96.3) |
Copy-ready code
/* CSS */
color: #ffda16;
background-color: #ffda16;
/* Tailwind (arbitrary) */
class="text-[#ffda16] bg-[#ffda16]"
/* SCSS */
$brand: #ffda16;
/* SwiftUI */
Color(red: 1.000, green: 0.855, blue: 0.086)
/* Android */
Color.parseColor("#ffda16")Accessibility — WCAG contrast
Aa
#ffda16 on white: 1.37:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffda16 on black: 15.29:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green85.5%
Blue8.6%
CMYK percentages
Cyan0.0%
Magenta14.5%
Yellow91.4%
Key (black)0.0%
Color previews
#ffda16 text on a black background
contrast 15.29:1
Card sample
#ffda16 text on a white background
contrast 1.37:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffda16;
Background color
Panel with #ffda16 background
background-color: #ffda16;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffda16;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 218, 22, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 218, 22, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffda16; background: linear-gradient(135deg, #ffda16, #89FF16);