#fff17f
a light, electric yellow · cool · closest name: khaki
RGB
255, 241, 127
HSL
53°, 100%, 75%
CMYK
0, 6, 50, 0
Luminance
0.8570
Every format
| HEX | #fff17f |
| RGB | rgb(255, 241, 127) |
| HSL | hsl(53, 100%, 75%) |
| CMYK | cmyk(0%, 6%, 50%, 0%) |
| LAB | lab(94.2 -9.8 56.2) |
| LCH | lch(94.2 57.0 99.9) |
| OKLCH | oklch(0.947 0.136 102.3) |
Copy-ready code
/* CSS */
color: #fff17f;
background-color: #fff17f;
/* Tailwind (arbitrary) */
class="text-[#fff17f] bg-[#fff17f]"
/* SCSS */
$brand: #fff17f;
/* SwiftUI */
Color(red: 1.000, green: 0.945, blue: 0.498)
/* Android */
Color.parseColor("#fff17f")Accessibility — WCAG contrast
Aa
#fff17f on white: 1.16:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fff17f on black: 18.14:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green94.5%
Blue49.8%
CMYK percentages
Cyan0.0%
Magenta5.5%
Yellow50.2%
Key (black)0.0%
Color previews
#fff17f text on a black background
contrast 18.14:1
Card sample
#fff17f text on a white background
contrast 1.16:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fff17f;
Background color
Panel with #fff17f background
background-color: #fff17f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fff17f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 241, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 241, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fff17f; background: linear-gradient(135deg, #fff17f, #B8FF7F);