#fdf280
a light, electric yellow · cool · closest name: khaki
RGB
253, 242, 128
HSL
55°, 97%, 75%
CMYK
0, 4, 49, 1
Luminance
0.8595
Every format
| HEX | #fdf280 |
| RGB | rgb(253, 242, 128) |
| HSL | hsl(55, 97%, 75%) |
| CMYK | cmyk(0%, 4%, 49%, 1%) |
| LAB | lab(94.3 -11.0 55.8) |
| LCH | lch(94.3 56.9 101.1) |
| OKLCH | oklch(0.947 0.136 103.7) |
Copy-ready code
/* CSS */
color: #fdf280;
background-color: #fdf280;
/* Tailwind (arbitrary) */
class="text-[#fdf280] bg-[#fdf280]"
/* SCSS */
$brand: #fdf280;
/* SwiftUI */
Color(red: 0.992, green: 0.949, blue: 0.502)
/* Android */
Color.parseColor("#fdf280")Accessibility — WCAG contrast
Aa
#fdf280 on white: 1.15:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fdf280 on black: 18.19:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red99.2%
Green94.9%
Blue50.2%
CMYK percentages
Cyan0.0%
Magenta4.3%
Yellow49.4%
Key (black)0.8%
Color previews
#fdf280 text on a black background
contrast 18.19:1
Card sample
#fdf280 text on a white background
contrast 1.15:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fdf280;
Background color
Panel with #fdf280 background
background-color: #fdf280;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fdf280;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(253, 242, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 242, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdf280; background: linear-gradient(135deg, #fdf280, #B5FD80);