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