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