#fff080
a light, electric yellow · cool · closest name: khaki
RGB
255, 240, 128
HSL
53°, 100%, 75%
CMYK
0, 6, 50, 0
Luminance
0.8514
Every format
| HEX | #fff080 |
| RGB | rgb(255, 240, 128) |
| HSL | hsl(53, 100%, 75%) |
| CMYK | cmyk(0%, 6%, 50%, 0%) |
| LAB | lab(93.9 -9.2 55.4) |
| LCH | lch(93.9 56.2 99.4) |
| OKLCH | oklch(0.945 0.134 101.7) |
Copy-ready code
/* CSS */
color: #fff080;
background-color: #fff080;
/* Tailwind (arbitrary) */
class="text-[#fff080] bg-[#fff080]"
/* SCSS */
$brand: #fff080;
/* SwiftUI */
Color(red: 1.000, green: 0.941, blue: 0.502)
/* Android */
Color.parseColor("#fff080")Accessibility — WCAG contrast
Aa
#fff080 on white: 1.16:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fff080 on black: 18.03:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green94.1%
Blue50.2%
CMYK percentages
Cyan0.0%
Magenta5.9%
Yellow49.8%
Key (black)0.0%
Color previews
#fff080 text on a black background
contrast 18.03:1
Card sample
#fff080 text on a white background
contrast 1.16:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fff080;
Background color
Panel with #fff080 background
background-color: #fff080;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fff080;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 240, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 240, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fff080; background: linear-gradient(135deg, #fff080, #B9FF80);