#fefff0
a pale, electric yellow · cool · “ivory”
RGB
254, 255, 240
HSL
64°, 100%, 97%
CMYK
0, 0, 6, 0
Luminance
0.9888
Every format
| HEX | #fefff0 |
| RGB | rgb(254, 255, 240) |
| HSL | hsl(64, 100%, 97%) |
| CMYK | cmyk(0%, 0%, 6%, 0%) |
| LAB | lab(99.6 -2.9 7.0) |
| LCH | lch(99.6 7.6 112.3) |
| OKLCH | oklch(0.995 0.020 109.8) |
Copy-ready code
/* CSS */
color: #fefff0;
background-color: #fefff0;
/* Tailwind (arbitrary) */
class="text-[#fefff0] bg-[#fefff0]"
/* SCSS */
$brand: #fefff0;
/* SwiftUI */
Color(red: 0.996, green: 1.000, blue: 0.941)
/* Android */
Color.parseColor("#fefff0")Accessibility — WCAG contrast
Aa
#fefff0 on white: 1.01:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fefff0 on black: 20.78:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red99.6%
Green100.0%
Blue94.1%
CMYK percentages
Cyan0.4%
Magenta0.0%
Yellow5.9%
Key (black)0.0%
Color previews
#fefff0 text on a black background
contrast 20.78:1
Card sample
#fefff0 text on a white background
contrast 1.01:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fefff0;
Background color
Panel with #fefff0 background
background-color: #fefff0;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fefff0;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(254, 255, 240, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(254, 255, 240, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fefff0; background: linear-gradient(135deg, #fefff0, #F4FFF0);