#fdef39
a balanced, electric yellow · cool · closest name: gold
RGB
253, 239, 57
HSL
56°, 98%, 61%
CMYK
0, 6, 78, 1
Luminance
0.8291
Every format
| HEX | #fdef39 |
| RGB | rgb(253, 239, 57) |
| HSL | hsl(56, 98%, 61%) |
| CMYK | cmyk(0%, 6%, 78%, 1%) |
| LAB | lab(93.0 -13.7 82.2) |
| LCH | lch(93.0 83.3 99.5) |
| OKLCH | oklch(0.935 0.185 104.8) |
Copy-ready code
/* CSS */
color: #fdef39;
background-color: #fdef39;
/* Tailwind (arbitrary) */
class="text-[#fdef39] bg-[#fdef39]"
/* SCSS */
$brand: #fdef39;
/* SwiftUI */
Color(red: 0.992, green: 0.937, blue: 0.224)
/* Android */
Color.parseColor("#fdef39")Accessibility — WCAG contrast
Aa
#fdef39 on white: 1.19:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fdef39 on black: 17.58:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red99.2%
Green93.7%
Blue22.4%
CMYK percentages
Cyan0.0%
Magenta5.5%
Yellow77.5%
Key (black)0.8%
Color previews
#fdef39 text on a black background
contrast 17.58:1
Card sample
#fdef39 text on a white background
contrast 1.19:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fdef39;
Background color
Panel with #fdef39 background
background-color: #fdef39;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fdef39;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(253, 239, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 239, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdef39; background: linear-gradient(135deg, #fdef39, #88FD39);