#faf0cd
a pale, electric yellow · cool · closest name: beige
RGB
250, 240, 205
HSL
47°, 82%, 89%
CMYK
0, 4, 18, 2
Luminance
0.8705
Every format
| HEX | #faf0cd |
| RGB | rgb(250, 240, 205) |
| HSL | hsl(47, 82%, 89%) |
| CMYK | cmyk(0%, 4%, 18%, 2%) |
| LAB | lab(94.8 -2.2 18.1) |
| LCH | lch(94.8 18.3 96.9) |
| OKLCH | oklch(0.954 0.047 93.9) |
Copy-ready code
/* CSS */
color: #faf0cd;
background-color: #faf0cd;
/* Tailwind (arbitrary) */
class="text-[#faf0cd] bg-[#faf0cd]"
/* SCSS */
$brand: #faf0cd;
/* SwiftUI */
Color(red: 0.980, green: 0.941, blue: 0.804)
/* Android */
Color.parseColor("#faf0cd")Accessibility — WCAG contrast
Aa
#faf0cd on white: 1.14:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#faf0cd on black: 18.41:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.0%
Green94.1%
Blue80.4%
CMYK percentages
Cyan0.0%
Magenta4.0%
Yellow18.0%
Key (black)2.0%
Color previews
#faf0cd text on a black background
contrast 18.41:1
Card sample
#faf0cd text on a white background
contrast 1.14:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #faf0cd;
Background color
Panel with #faf0cd background
background-color: #faf0cd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #faf0cd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(250, 240, 205, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(250, 240, 205, 0.45);
Border & gradient
Gradient panel
border: 3px solid #faf0cd; background: linear-gradient(135deg, #faf0cd, #E6FACD);