#f4fbaf
a light, electric yellow · cool · closest name: khaki
RGB
244, 251, 175
HSL
66°, 91%, 84%
CMYK
3, 0, 30, 2
Luminance
0.9132
Every format
| HEX | #f4fbaf |
| RGB | rgb(244, 251, 175) |
| HSL | hsl(66, 91%, 84%) |
| CMYK | cmyk(3%, 0%, 30%, 2%) |
| LAB | lab(96.5 -13.9 35.7) |
| LCH | lch(96.5 38.4 111.3) |
| OKLCH | oklch(0.965 0.096 112.5) |
Copy-ready code
/* CSS */
color: #f4fbaf;
background-color: #f4fbaf;
/* Tailwind (arbitrary) */
class="text-[#f4fbaf] bg-[#f4fbaf]"
/* SCSS */
$brand: #f4fbaf;
/* SwiftUI */
Color(red: 0.957, green: 0.984, blue: 0.686)
/* Android */
Color.parseColor("#f4fbaf")Accessibility — WCAG contrast
Aa
#f4fbaf on white: 1.09:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f4fbaf on black: 19.26:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red95.7%
Green98.4%
Blue68.6%
CMYK percentages
Cyan2.8%
Magenta0.0%
Yellow30.3%
Key (black)1.6%
Color previews
#f4fbaf text on a black background
contrast 19.26:1
Card sample
#f4fbaf text on a white background
contrast 1.09:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f4fbaf;
Background color
Panel with #f4fbaf background
background-color: #f4fbaf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f4fbaf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(244, 251, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(244, 251, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f4fbaf; background: linear-gradient(135deg, #f4fbaf, #C1FBAF);