#fffaaa
a light, electric yellow · cool · closest name: khaki
RGB
255, 250, 170
HSL
57°, 100%, 83%
CMYK
0, 2, 33, 0
Luminance
0.9253
Every format
| HEX | #fffaaa |
| RGB | rgb(255, 250, 170) |
| HSL | hsl(57, 100%, 83%) |
| CMYK | cmyk(0%, 2%, 33%, 0%) |
| LAB | lab(97.0 -9.9 39.0) |
| LCH | lch(97.0 40.3 104.3) |
| OKLCH | oklch(0.971 0.100 105.1) |
Copy-ready code
/* CSS */
color: #fffaaa;
background-color: #fffaaa;
/* Tailwind (arbitrary) */
class="text-[#fffaaa] bg-[#fffaaa]"
/* SCSS */
$brand: #fffaaa;
/* SwiftUI */
Color(red: 1.000, green: 0.980, blue: 0.667)
/* Android */
Color.parseColor("#fffaaa")Accessibility — WCAG contrast
Aa
#fffaaa on white: 1.08:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fffaaa on black: 19.51:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green98.0%
Blue66.7%
CMYK percentages
Cyan0.0%
Magenta2.0%
Yellow33.3%
Key (black)0.0%
Color previews
#fffaaa text on a black background
contrast 19.51:1
Card sample
#fffaaa text on a white background
contrast 1.08:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fffaaa;
Background color
Panel with #fffaaa background
background-color: #fffaaa;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fffaaa;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 250, 170, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 250, 170, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fffaaa; background: linear-gradient(135deg, #fffaaa, #CBFFAA);