#fdff98
a light, electric yellow · cool · closest name: khaki
RGB
253, 255, 152
HSL
61°, 100%, 80%
CMYK
1, 0, 40, 0
Luminance
0.9467
Every format
| HEX | #fdff98 |
| RGB | rgb(253, 255, 152) |
| HSL | hsl(61, 100%, 80%) |
| CMYK | cmyk(1%, 0%, 40%, 0%) |
| LAB | lab(97.9 -15.1 48.9) |
| LCH | lch(97.9 51.2 107.1) |
| OKLCH | oklch(0.977 0.126 109.5) |
Copy-ready code
/* CSS */
color: #fdff98;
background-color: #fdff98;
/* Tailwind (arbitrary) */
class="text-[#fdff98] bg-[#fdff98]"
/* SCSS */
$brand: #fdff98;
/* SwiftUI */
Color(red: 0.992, green: 1.000, blue: 0.596)
/* Android */
Color.parseColor("#fdff98")Accessibility — WCAG contrast
Aa
#fdff98 on white: 1.05:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fdff98 on black: 19.93:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red99.2%
Green100.0%
Blue59.6%
CMYK percentages
Cyan0.8%
Magenta0.0%
Yellow40.4%
Key (black)0.0%
Color previews
#fdff98 text on a black background
contrast 19.93:1
Card sample
#fdff98 text on a white background
contrast 1.05:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fdff98;
Background color
Panel with #fdff98 background
background-color: #fdff98;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fdff98;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(253, 255, 152, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 255, 152, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdff98; background: linear-gradient(135deg, #fdff98, #B8FF98);