#ffda2e
a balanced, electric yellow · cool · closest name: gold
RGB
255, 218, 46
HSL
49°, 100%, 59%
CMYK
0, 15, 82, 0
Luminance
0.7160
Every format
| HEX | #ffda2e |
| RGB | rgb(255, 218, 46) |
| HSL | hsl(49, 100%, 59%) |
| CMYK | cmyk(0%, 15%, 82%, 0%) |
| LAB | lab(87.8 -2.8 80.7) |
| LCH | lch(87.8 80.8 92.0) |
| OKLCH | oklch(0.894 0.174 95.7) |
Copy-ready code
/* CSS */
color: #ffda2e;
background-color: #ffda2e;
/* Tailwind (arbitrary) */
class="text-[#ffda2e] bg-[#ffda2e]"
/* SCSS */
$brand: #ffda2e;
/* SwiftUI */
Color(red: 1.000, green: 0.855, blue: 0.180)
/* Android */
Color.parseColor("#ffda2e")Accessibility — WCAG contrast
Aa
#ffda2e on white: 1.37:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffda2e on black: 15.32:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green85.5%
Blue18.0%
CMYK percentages
Cyan0.0%
Magenta14.5%
Yellow82.0%
Key (black)0.0%
Color previews
#ffda2e text on a black background
contrast 15.32:1
Card sample
#ffda2e text on a white background
contrast 1.37:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffda2e;
Background color
Panel with #ffda2e background
background-color: #ffda2e;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffda2e;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 218, 46, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 218, 46, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffda2e; background: linear-gradient(135deg, #ffda2e, #99FF2E);