#fef9ce
a pale, electric yellow · cool · closest name: beige
RGB
254, 249, 206
HSL
54°, 96%, 90%
CMYK
0, 2, 19, 0
Luminance
0.9328
Every format
| HEX | #fef9ce |
| RGB | rgb(254, 249, 206) |
| HSL | hsl(54, 96%, 90%) |
| CMYK | cmyk(0%, 2%, 19%, 0%) |
| LAB | lab(97.3 -5.1 21.3) |
| LCH | lch(97.3 21.9 103.6) |
| OKLCH | oklch(0.975 0.056 101.9) |
Copy-ready code
/* CSS */
color: #fef9ce;
background-color: #fef9ce;
/* Tailwind (arbitrary) */
class="text-[#fef9ce] bg-[#fef9ce]"
/* SCSS */
$brand: #fef9ce;
/* SwiftUI */
Color(red: 0.996, green: 0.976, blue: 0.808)
/* Android */
Color.parseColor("#fef9ce")Accessibility — WCAG contrast
Aa
#fef9ce on white: 1.07:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fef9ce on black: 19.66:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red99.6%
Green97.6%
Blue80.8%
CMYK percentages
Cyan0.0%
Magenta2.0%
Yellow18.9%
Key (black)0.4%
Color previews
#fef9ce text on a black background
contrast 19.66:1
Card sample
#fef9ce text on a white background
contrast 1.07:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fef9ce;
Background color
Panel with #fef9ce background
background-color: #fef9ce;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fef9ce;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(254, 249, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(254, 249, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fef9ce; background: linear-gradient(135deg, #fef9ce, #E3FECE);