#fffbab
a light, electric yellow · cool · closest name: khaki
RGB
255, 251, 171
HSL
57°, 100%, 84%
CMYK
0, 2, 33, 0
Luminance
0.9319
Every format
| HEX | #fffbab |
| RGB | rgb(255, 251, 171) |
| HSL | hsl(57, 100%, 84%) |
| CMYK | cmyk(0%, 2%, 33%, 0%) |
| LAB | lab(97.3 -10.3 38.9) |
| LCH | lch(97.3 40.2 104.8) |
| OKLCH | oklch(0.973 0.100 105.7) |
Copy-ready code
/* CSS */
color: #fffbab;
background-color: #fffbab;
/* Tailwind (arbitrary) */
class="text-[#fffbab] bg-[#fffbab]"
/* SCSS */
$brand: #fffbab;
/* SwiftUI */
Color(red: 1.000, green: 0.984, blue: 0.671)
/* Android */
Color.parseColor("#fffbab")Accessibility — WCAG contrast
Aa
#fffbab on white: 1.07:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fffbab on black: 19.64:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green98.4%
Blue67.1%
CMYK percentages
Cyan0.0%
Magenta1.6%
Yellow32.9%
Key (black)0.0%
Color previews
#fffbab text on a black background
contrast 19.64:1
Card sample
#fffbab text on a white background
contrast 1.07:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fffbab;
Background color
Panel with #fffbab background
background-color: #fffbab;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fffbab;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 251, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 251, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fffbab; background: linear-gradient(135deg, #fffbab, #CBFFAB);