#f3ffab
a light, electric yellow · cool · closest name: khaki
RGB
243, 255, 171
HSL
69°, 100%, 84%
CMYK
5, 0, 33, 0
Luminance
0.9351
Every format
| HEX | #f3ffab |
| RGB | rgb(243, 255, 171) |
| HSL | hsl(69, 100%, 84%) |
| CMYK | cmyk(5%, 0%, 33%, 0%) |
| LAB | lab(97.4 -16.7 38.9) |
| LCH | lch(97.4 42.3 113.3) |
| OKLCH | oklch(0.972 0.106 115.0) |
Copy-ready code
/* CSS */
color: #f3ffab;
background-color: #f3ffab;
/* Tailwind (arbitrary) */
class="text-[#f3ffab] bg-[#f3ffab]"
/* SCSS */
$brand: #f3ffab;
/* SwiftUI */
Color(red: 0.953, green: 1.000, blue: 0.671)
/* Android */
Color.parseColor("#f3ffab")Accessibility — WCAG contrast
Aa
#f3ffab on white: 1.07:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f3ffab on black: 19.70:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red95.3%
Green100.0%
Blue67.1%
CMYK percentages
Cyan4.7%
Magenta0.0%
Yellow32.9%
Key (black)0.0%
Color previews
#f3ffab text on a black background
contrast 19.70:1
Card sample
#f3ffab text on a white background
contrast 1.07:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f3ffab;
Background color
Panel with #f3ffab background
background-color: #f3ffab;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f3ffab;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(243, 255, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(243, 255, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f3ffab; background: linear-gradient(135deg, #f3ffab, #BBFFAB);