#f2feab
a light, electric yellow · cool · closest name: khaki
RGB
242, 254, 171
HSL
69°, 98%, 83%
CMYK
5, 0, 33, 0
Luminance
0.9270
Every format
| HEX | #f2feab |
| RGB | rgb(242, 254, 171) |
| HSL | hsl(69, 98%, 83%) |
| CMYK | cmyk(5%, 0%, 33%, 0%) |
| LAB | lab(97.1 -16.6 38.5) |
| LCH | lch(97.1 41.9 113.4) |
| OKLCH | oklch(0.969 0.105 115.1) |
Copy-ready code
/* CSS */
color: #f2feab;
background-color: #f2feab;
/* Tailwind (arbitrary) */
class="text-[#f2feab] bg-[#f2feab]"
/* SCSS */
$brand: #f2feab;
/* SwiftUI */
Color(red: 0.949, green: 0.996, blue: 0.671)
/* Android */
Color.parseColor("#f2feab")Accessibility — WCAG contrast
Aa
#f2feab on white: 1.07:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f2feab on black: 19.54:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.9%
Green99.6%
Blue67.1%
CMYK percentages
Cyan4.7%
Magenta0.0%
Yellow32.7%
Key (black)0.4%
Color previews
#f2feab text on a black background
contrast 19.54:1
Card sample
#f2feab text on a white background
contrast 1.07:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f2feab;
Background color
Panel with #f2feab background
background-color: #f2feab;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f2feab;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(242, 254, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(242, 254, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f2feab; background: linear-gradient(135deg, #f2feab, #BBFEAB);