#f9ffcf
a pale, electric yellow · cool · closest name: beige
RGB
249, 255, 207
HSL
68°, 100%, 91%
CMYK
2, 0, 19, 0
Luminance
0.9616
Every format
| HEX | #f9ffcf |
| RGB | rgb(249, 255, 207) |
| HSL | hsl(68, 100%, 91%) |
| CMYK | cmyk(2%, 0%, 19%, 0%) |
| LAB | lab(98.5 -9.8 22.3) |
| LCH | lch(98.5 24.4 113.6) |
| OKLCH | oklch(0.984 0.062 113.3) |
Copy-ready code
/* CSS */
color: #f9ffcf;
background-color: #f9ffcf;
/* Tailwind (arbitrary) */
class="text-[#f9ffcf] bg-[#f9ffcf]"
/* SCSS */
$brand: #f9ffcf;
/* SwiftUI */
Color(red: 0.976, green: 1.000, blue: 0.812)
/* Android */
Color.parseColor("#f9ffcf")Accessibility — WCAG contrast
Aa
#f9ffcf on white: 1.04:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f9ffcf on black: 20.23:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red97.6%
Green100.0%
Blue81.2%
CMYK percentages
Cyan2.4%
Magenta0.0%
Yellow18.8%
Key (black)0.0%
Color previews
#f9ffcf text on a black background
contrast 20.23:1
Card sample
#f9ffcf text on a white background
contrast 1.04:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f9ffcf;
Background color
Panel with #f9ffcf background
background-color: #f9ffcf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f9ffcf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(249, 255, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(249, 255, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f9ffcf; background: linear-gradient(135deg, #f9ffcf, #D9FFCF);