#fdf784
a light, electric yellow · cool · closest name: khaki
RGB
253, 247, 132
HSL
57°, 97%, 76%
CMYK
0, 2, 48, 1
Luminance
0.8907
Every format
| HEX | #fdf784 |
| RGB | rgb(253, 247, 132) |
| HSL | hsl(57, 97%, 76%) |
| CMYK | cmyk(0%, 2%, 48%, 1%) |
| LAB | lab(95.6 -13.1 55.5) |
| LCH | lch(95.6 57.1 103.3) |
| OKLCH | oklch(0.958 0.137 106.0) |
Copy-ready code
/* CSS */
color: #fdf784;
background-color: #fdf784;
/* Tailwind (arbitrary) */
class="text-[#fdf784] bg-[#fdf784]"
/* SCSS */
$brand: #fdf784;
/* SwiftUI */
Color(red: 0.992, green: 0.969, blue: 0.518)
/* Android */
Color.parseColor("#fdf784")Accessibility — WCAG contrast
Aa
#fdf784 on white: 1.12:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fdf784 on black: 18.81:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red99.2%
Green96.9%
Blue51.8%
CMYK percentages
Cyan0.0%
Magenta2.4%
Yellow47.8%
Key (black)0.8%
Color previews
#fdf784 text on a black background
contrast 18.81:1
Card sample
#fdf784 text on a white background
contrast 1.12:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fdf784;
Background color
Panel with #fdf784 background
background-color: #fdf784;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fdf784;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(253, 247, 132, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 247, 132, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdf784; background: linear-gradient(135deg, #fdf784, #B2FD84);