#fafcaf
a light, electric yellow · cool · closest name: khaki
RGB
250, 252, 175
HSL
62°, 93%, 84%
CMYK
1, 0, 31, 1
Luminance
0.9304
Every format
| HEX | #fafcaf |
| RGB | rgb(250, 252, 175) |
| HSL | hsl(62, 93%, 84%) |
| CMYK | cmyk(1%, 0%, 31%, 1%) |
| LAB | lab(97.2 -12.2 36.8) |
| LCH | lch(97.2 38.7 108.4) |
| OKLCH | oklch(0.972 0.097 109.3) |
Copy-ready code
/* CSS */
color: #fafcaf;
background-color: #fafcaf;
/* Tailwind (arbitrary) */
class="text-[#fafcaf] bg-[#fafcaf]"
/* SCSS */
$brand: #fafcaf;
/* SwiftUI */
Color(red: 0.980, green: 0.988, blue: 0.686)
/* Android */
Color.parseColor("#fafcaf")Accessibility — WCAG contrast
Aa
#fafcaf on white: 1.07:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fafcaf on black: 19.61:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.0%
Green98.8%
Blue68.6%
CMYK percentages
Cyan0.8%
Magenta0.0%
Yellow30.6%
Key (black)1.2%
Color previews
#fafcaf text on a black background
contrast 19.61:1
Card sample
#fafcaf text on a white background
contrast 1.07:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fafcaf;
Background color
Panel with #fafcaf background
background-color: #fafcaf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fafcaf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(250, 252, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(250, 252, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fafcaf; background: linear-gradient(135deg, #fafcaf, #C7FCAF);