#f7efc8
a pale, vivid yellow · cool · closest name: beige
RGB
247, 239, 200
HSL
50°, 75%, 88%
CMYK
0, 3, 19, 3
Luminance
0.8568
Every format
| HEX | #f7efc8 |
| RGB | rgb(247, 239, 200) |
| HSL | hsl(50, 75%, 88%) |
| CMYK | cmyk(0%, 3%, 19%, 3%) |
| LAB | lab(94.2 -3.5 19.9) |
| LCH | lch(94.2 20.2 100.0) |
| OKLCH | oklch(0.949 0.051 97.7) |
Copy-ready code
/* CSS */
color: #f7efc8;
background-color: #f7efc8;
/* Tailwind (arbitrary) */
class="text-[#f7efc8] bg-[#f7efc8]"
/* SCSS */
$brand: #f7efc8;
/* SwiftUI */
Color(red: 0.969, green: 0.937, blue: 0.784)
/* Android */
Color.parseColor("#f7efc8")Accessibility — WCAG contrast
Aa
#f7efc8 on white: 1.16:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f7efc8 on black: 18.14:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red96.9%
Green93.7%
Blue78.4%
CMYK percentages
Cyan0.0%
Magenta3.2%
Yellow19.0%
Key (black)3.1%
Color previews
#f7efc8 text on a black background
contrast 18.14:1
Card sample
#f7efc8 text on a white background
contrast 1.16:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f7efc8;
Background color
Panel with #f7efc8 background
background-color: #f7efc8;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f7efc8;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(247, 239, 200, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(247, 239, 200, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f7efc8; background: linear-gradient(135deg, #f7efc8, #E0F7C8);