#ffec4d
a light, electric yellow · cool · closest name: gold
RGB
255, 236, 77
HSL
54°, 100%, 65%
CMYK
0, 8, 70, 0
Luminance
0.8179
Every format
| HEX | #ffec4d |
| RGB | rgb(255, 236, 77) |
| HSL | hsl(54, 100%, 65%) |
| CMYK | cmyk(0%, 8%, 70%, 0%) |
| LAB | lab(92.5 -10.6 75.3) |
| LCH | lch(92.5 76.0 98.0) |
| OKLCH | oklch(0.932 0.171 102.4) |
Copy-ready code
/* CSS */
color: #ffec4d;
background-color: #ffec4d;
/* Tailwind (arbitrary) */
class="text-[#ffec4d] bg-[#ffec4d]"
/* SCSS */
$brand: #ffec4d;
/* SwiftUI */
Color(red: 1.000, green: 0.925, blue: 0.302)
/* Android */
Color.parseColor("#ffec4d")Accessibility — WCAG contrast
Aa
#ffec4d on white: 1.21:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffec4d on black: 17.36:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green92.5%
Blue30.2%
CMYK percentages
Cyan0.0%
Magenta7.5%
Yellow69.8%
Key (black)0.0%
Color previews
#ffec4d text on a black background
contrast 17.36:1
Card sample
#ffec4d text on a white background
contrast 1.21:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffec4d;
Background color
Panel with #ffec4d background
background-color: #ffec4d;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffec4d;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 236, 77, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 236, 77, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffec4d; background: linear-gradient(135deg, #ffec4d, #9BFF4D);