#fefec8
a pale, electric yellow · cool · closest name: beige
RGB
254, 254, 200
HSL
60°, 96%, 89%
CMYK
0, 0, 21, 0
Luminance
0.9612
Every format
| HEX | #fefec8 |
| RGB | rgb(254, 254, 200) |
| HSL | hsl(60, 96%, 89%) |
| CMYK | cmyk(0%, 0%, 21%, 0%) |
| LAB | lab(98.5 -8.5 25.9) |
| LCH | lch(98.5 27.3 108.1) |
| OKLCH | oklch(0.984 0.069 107.6) |
Copy-ready code
/* CSS */
color: #fefec8;
background-color: #fefec8;
/* Tailwind (arbitrary) */
class="text-[#fefec8] bg-[#fefec8]"
/* SCSS */
$brand: #fefec8;
/* SwiftUI */
Color(red: 0.996, green: 0.996, blue: 0.784)
/* Android */
Color.parseColor("#fefec8")Accessibility — WCAG contrast
Aa
#fefec8 on white: 1.04:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fefec8 on black: 20.22:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red99.6%
Green99.6%
Blue78.4%
CMYK percentages
Cyan0.0%
Magenta0.0%
Yellow21.3%
Key (black)0.4%
Color previews
#fefec8 text on a black background
contrast 20.22:1
Card sample
#fefec8 text on a white background
contrast 1.04:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fefec8;
Background color
Panel with #fefec8 background
background-color: #fefec8;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fefec8;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(254, 254, 200, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(254, 254, 200, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fefec8; background: linear-gradient(135deg, #fefec8, #DAFEC8);