#f9ff88
a light, electric yellow · cool · closest name: khaki
RGB
249, 255, 136
HSL
63°, 100%, 77%
CMYK
2, 0, 47, 0
Luminance
0.9344
Every format
| HEX | #f9ff88 |
| RGB | rgb(249, 255, 136) |
| HSL | hsl(63, 100%, 77%) |
| CMYK | cmyk(2%, 0%, 47%, 0%) |
| LAB | lab(97.4 -18.2 55.8) |
| LCH | lch(97.4 58.7 108.0) |
| OKLCH | oklch(0.971 0.143 111.3) |
Copy-ready code
/* CSS */
color: #f9ff88;
background-color: #f9ff88;
/* Tailwind (arbitrary) */
class="text-[#f9ff88] bg-[#f9ff88]"
/* SCSS */
$brand: #f9ff88;
/* SwiftUI */
Color(red: 0.976, green: 1.000, blue: 0.533)
/* Android */
Color.parseColor("#f9ff88")Accessibility — WCAG contrast
Aa
#f9ff88 on white: 1.07:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f9ff88 on black: 19.69:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red97.6%
Green100.0%
Blue53.3%
CMYK percentages
Cyan2.4%
Magenta0.0%
Yellow46.7%
Key (black)0.0%
Color previews
#f9ff88 text on a black background
contrast 19.69:1
Card sample
#f9ff88 text on a white background
contrast 1.07:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f9ff88;
Background color
Panel with #f9ff88 background
background-color: #f9ff88;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f9ff88;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(249, 255, 136, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(249, 255, 136, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f9ff88; background: linear-gradient(135deg, #f9ff88, #AAFF88);