#f9df80
a light, electric yellow · cool · closest name: khaki
RGB
249, 223, 128
HSL
47°, 91%, 74%
CMYK
0, 10, 49, 2
Luminance
0.7447
Every format
| HEX | #f9df80 |
| RGB | rgb(249, 223, 128) |
| HSL | hsl(47, 91%, 74%) |
| CMYK | cmyk(0%, 10%, 49%, 2%) |
| LAB | lab(89.2 -3.1 49.5) |
| LCH | lch(89.2 49.6 93.6) |
| OKLCH | oklch(0.905 0.119 94.5) |
Copy-ready code
/* CSS */
color: #f9df80;
background-color: #f9df80;
/* Tailwind (arbitrary) */
class="text-[#f9df80] bg-[#f9df80]"
/* SCSS */
$brand: #f9df80;
/* SwiftUI */
Color(red: 0.976, green: 0.875, blue: 0.502)
/* Android */
Color.parseColor("#f9df80")Accessibility — WCAG contrast
Aa
#f9df80 on white: 1.32:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f9df80 on black: 15.89:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red97.6%
Green87.5%
Blue50.2%
CMYK percentages
Cyan0.0%
Magenta10.4%
Yellow48.6%
Key (black)2.4%
Color previews
#f9df80 text on a black background
contrast 15.89:1
Card sample
#f9df80 text on a white background
contrast 1.32:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f9df80;
Background color
Panel with #f9df80 background
background-color: #f9df80;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f9df80;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(249, 223, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(249, 223, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f9df80; background: linear-gradient(135deg, #f9df80, #C2F980);