#ffdf4c
a balanced, electric yellow · cool · closest name: gold
RGB
255, 223, 76
HSL
49°, 100%, 65%
CMYK
0, 13, 70, 0
Luminance
0.7456
Every format
| HEX | #ffdf4c |
| RGB | rgb(255, 223, 76) |
| HSL | hsl(49, 100%, 65%) |
| CMYK | cmyk(0%, 13%, 70%, 0%) |
| LAB | lab(89.2 -4.2 72.4) |
| LCH | lch(89.2 72.5 93.3) |
| OKLCH | oklch(0.905 0.162 96.6) |
Copy-ready code
/* CSS */
color: #ffdf4c;
background-color: #ffdf4c;
/* Tailwind (arbitrary) */
class="text-[#ffdf4c] bg-[#ffdf4c]"
/* SCSS */
$brand: #ffdf4c;
/* SwiftUI */
Color(red: 1.000, green: 0.875, blue: 0.298)
/* Android */
Color.parseColor("#ffdf4c")Accessibility — WCAG contrast
Aa
#ffdf4c on white: 1.32:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffdf4c on black: 15.91:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green87.5%
Blue29.8%
CMYK percentages
Cyan0.0%
Magenta12.5%
Yellow70.2%
Key (black)0.0%
Color previews
#ffdf4c text on a black background
contrast 15.91:1
Card sample
#ffdf4c text on a white background
contrast 1.32:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffdf4c;
Background color
Panel with #ffdf4c background
background-color: #ffdf4c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffdf4c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 223, 76, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 223, 76, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffdf4c; background: linear-gradient(135deg, #ffdf4c, #A8FF4C);