#fff1cc
a pale, electric yellow · warm · closest name: beige
RGB
255, 241, 204
HSL
44°, 100%, 90%
CMYK
0, 6, 20, 0
Luminance
0.8853
Every format
| HEX | #fff1cc |
| RGB | rgb(255, 241, 204) |
| HSL | hsl(44, 100%, 90%) |
| CMYK | cmyk(0%, 6%, 20%, 0%) |
| LAB | lab(95.4 -1.1 19.6) |
| LCH | lch(95.4 19.6 93.1) |
| OKLCH | oklch(0.960 0.050 89.8) |
Copy-ready code
/* CSS */
color: #fff1cc;
background-color: #fff1cc;
/* Tailwind (arbitrary) */
class="text-[#fff1cc] bg-[#fff1cc]"
/* SCSS */
$brand: #fff1cc;
/* SwiftUI */
Color(red: 1.000, green: 0.945, blue: 0.800)
/* Android */
Color.parseColor("#fff1cc")Accessibility — WCAG contrast
Aa
#fff1cc on white: 1.12:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fff1cc on black: 18.71:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green94.5%
Blue80.0%
CMYK percentages
Cyan0.0%
Magenta5.5%
Yellow20.0%
Key (black)0.0%
Color previews
#fff1cc text on a black background
contrast 18.71:1
Card sample
#fff1cc text on a white background
contrast 1.12:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fff1cc;
Background color
Panel with #fff1cc background
background-color: #fff1cc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fff1cc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 241, 204, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 241, 204, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fff1cc; background: linear-gradient(135deg, #fff1cc, #EBFFCC);