#f4ffba
a pale, electric yellow · cool · closest name: khaki
RGB
244, 255, 186
HSL
70°, 100%, 87%
CMYK
4, 0, 27, 0
Luminance
0.9430
Every format
| HEX | #f4ffba |
| RGB | rgb(244, 255, 186) |
| HSL | hsl(70, 100%, 87%) |
| CMYK | cmyk(4%, 0%, 27%, 0%) |
| LAB | lab(97.8 -14.5 31.9) |
| LCH | lch(97.8 35.0 114.4) |
| OKLCH | oklch(0.976 0.089 115.4) |
Copy-ready code
/* CSS */
color: #f4ffba;
background-color: #f4ffba;
/* Tailwind (arbitrary) */
class="text-[#f4ffba] bg-[#f4ffba]"
/* SCSS */
$brand: #f4ffba;
/* SwiftUI */
Color(red: 0.957, green: 1.000, blue: 0.729)
/* Android */
Color.parseColor("#f4ffba")Accessibility — WCAG contrast
Aa
#f4ffba on white: 1.06:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f4ffba on black: 19.86:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red95.7%
Green100.0%
Blue72.9%
CMYK percentages
Cyan4.3%
Magenta0.0%
Yellow27.1%
Key (black)0.0%
Color previews
#f4ffba text on a black background
contrast 19.86:1
Card sample
#f4ffba text on a white background
contrast 1.06:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f4ffba;
Background color
Panel with #f4ffba background
background-color: #f4ffba;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f4ffba;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(244, 255, 186, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(244, 255, 186, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f4ffba; background: linear-gradient(135deg, #f4ffba, #C6FFBA);