#faffac
a light, electric yellow · cool · closest name: khaki
RGB
250, 255, 172
HSL
64°, 100%, 84%
CMYK
2, 0, 33, 0
Luminance
0.9482
Every format
| HEX | #faffac |
| RGB | rgb(250, 255, 172) |
| HSL | hsl(64, 100%, 84%) |
| CMYK | cmyk(2%, 0%, 33%, 0%) |
| LAB | lab(98.0 -14.0 39.2) |
| LCH | lch(98.0 41.6 109.7) |
| OKLCH | oklch(0.978 0.104 111.1) |
Copy-ready code
/* CSS */
color: #faffac;
background-color: #faffac;
/* Tailwind (arbitrary) */
class="text-[#faffac] bg-[#faffac]"
/* SCSS */
$brand: #faffac;
/* SwiftUI */
Color(red: 0.980, green: 1.000, blue: 0.675)
/* Android */
Color.parseColor("#faffac")Accessibility — WCAG contrast
Aa
#faffac on white: 1.05:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#faffac on black: 19.96:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.0%
Green100.0%
Blue67.5%
CMYK percentages
Cyan2.0%
Magenta0.0%
Yellow32.5%
Key (black)0.0%
Color previews
#faffac text on a black background
contrast 19.96:1
Card sample
#faffac text on a white background
contrast 1.05:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #faffac;
Background color
Panel with #faffac background
background-color: #faffac;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #faffac;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(250, 255, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(250, 255, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #faffac; background: linear-gradient(135deg, #faffac, #C3FFAC);