#fffac2
a pale, electric yellow · cool · closest name: beige
RGB
255, 250, 194
HSL
55°, 100%, 88%
CMYK
0, 2, 24, 0
Luminance
0.9353
Every format
| HEX | #fffac2 |
| RGB | rgb(255, 250, 194) |
| HSL | hsl(55, 100%, 88%) |
| CMYK | cmyk(0%, 2%, 24%, 0%) |
| LAB | lab(97.4 -6.9 27.5) |
| LCH | lch(97.4 28.4 104.1) |
| OKLCH | oklch(0.976 0.072 103.4) |
Copy-ready code
/* CSS */
color: #fffac2;
background-color: #fffac2;
/* Tailwind (arbitrary) */
class="text-[#fffac2] bg-[#fffac2]"
/* SCSS */
$brand: #fffac2;
/* SwiftUI */
Color(red: 1.000, green: 0.980, blue: 0.761)
/* Android */
Color.parseColor("#fffac2")Accessibility — WCAG contrast
Aa
#fffac2 on white: 1.07:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fffac2 on black: 19.71:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green98.0%
Blue76.1%
CMYK percentages
Cyan0.0%
Magenta2.0%
Yellow23.9%
Key (black)0.0%
Color previews
#fffac2 text on a black background
contrast 19.71:1
Card sample
#fffac2 text on a white background
contrast 1.07:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fffac2;
Background color
Panel with #fffac2 background
background-color: #fffac2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fffac2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 250, 194, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 250, 194, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fffac2; background: linear-gradient(135deg, #fffac2, #DBFFC2);