#f2fe80
a light, electric yellow · cool · closest name: khaki
RGB
242, 254, 128
HSL
66°, 98%, 75%
CMYK
5, 0, 50, 0
Luminance
0.9132
Every format
| HEX | #f2fe80 |
| RGB | rgb(242, 254, 128) |
| HSL | hsl(66, 98%, 75%) |
| CMYK | cmyk(5%, 0%, 50%, 0%) |
| LAB | lab(96.5 -21.1 58.3) |
| LCH | lch(96.5 62.0 109.9) |
| OKLCH | oklch(0.963 0.150 113.7) |
Copy-ready code
/* CSS */
color: #f2fe80;
background-color: #f2fe80;
/* Tailwind (arbitrary) */
class="text-[#f2fe80] bg-[#f2fe80]"
/* SCSS */
$brand: #f2fe80;
/* SwiftUI */
Color(red: 0.949, green: 0.996, blue: 0.502)
/* Android */
Color.parseColor("#f2fe80")Accessibility — WCAG contrast
Aa
#f2fe80 on white: 1.09:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f2fe80 on black: 19.26:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.9%
Green99.6%
Blue50.2%
CMYK percentages
Cyan4.7%
Magenta0.0%
Yellow49.6%
Key (black)0.4%
Color previews
#f2fe80 text on a black background
contrast 19.26:1
Card sample
#f2fe80 text on a white background
contrast 1.09:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f2fe80;
Background color
Panel with #f2fe80 background
background-color: #f2fe80;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f2fe80;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(242, 254, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(242, 254, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f2fe80; background: linear-gradient(135deg, #f2fe80, #9EFE80);