#fdf494
a light, electric yellow · cool · closest name: khaki
RGB
253, 244, 148
HSL
55°, 96%, 79%
CMYK
0, 4, 42, 1
Luminance
0.8772
Every format
| HEX | #fdf494 |
| RGB | rgb(253, 244, 148) |
| HSL | hsl(55, 96%, 79%) |
| CMYK | cmyk(0%, 4%, 42%, 1%) |
| LAB | lab(95.0 -10.1 47.2) |
| LCH | lch(95.0 48.3 102.1) |
| OKLCH | oklch(0.954 0.118 103.7) |
Copy-ready code
/* CSS */
color: #fdf494;
background-color: #fdf494;
/* Tailwind (arbitrary) */
class="text-[#fdf494] bg-[#fdf494]"
/* SCSS */
$brand: #fdf494;
/* SwiftUI */
Color(red: 0.992, green: 0.957, blue: 0.580)
/* Android */
Color.parseColor("#fdf494")Accessibility — WCAG contrast
Aa
#fdf494 on white: 1.13:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fdf494 on black: 18.54:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red99.2%
Green95.7%
Blue58.0%
CMYK percentages
Cyan0.0%
Magenta3.6%
Yellow41.5%
Key (black)0.8%
Color previews
#fdf494 text on a black background
contrast 18.54:1
Card sample
#fdf494 text on a white background
contrast 1.13:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fdf494;
Background color
Panel with #fdf494 background
background-color: #fdf494;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fdf494;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(253, 244, 148, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 244, 148, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdf494; background: linear-gradient(135deg, #fdf494, #C0FD94);