#feffab
a light, electric yellow · cool · closest name: khaki
RGB
254, 255, 171
HSL
61°, 100%, 84%
CMYK
0, 0, 33, 0
Luminance
0.9553
Every format
| HEX | #feffab |
| RGB | rgb(254, 255, 171) |
| HSL | hsl(61, 100%, 84%) |
| CMYK | cmyk(0%, 0%, 33%, 0%) |
| LAB | lab(98.3 -12.6 40.1) |
| LCH | lch(98.3 42.0 107.5) |
| OKLCH | oklch(0.980 0.105 108.8) |
Copy-ready code
/* CSS */
color: #feffab;
background-color: #feffab;
/* Tailwind (arbitrary) */
class="text-[#feffab] bg-[#feffab]"
/* SCSS */
$brand: #feffab;
/* SwiftUI */
Color(red: 0.996, green: 1.000, blue: 0.671)
/* Android */
Color.parseColor("#feffab")Accessibility — WCAG contrast
Aa
#feffab on white: 1.04:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#feffab on black: 20.11:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red99.6%
Green100.0%
Blue67.1%
CMYK percentages
Cyan0.4%
Magenta0.0%
Yellow32.9%
Key (black)0.0%
Color previews
#feffab text on a black background
contrast 20.11:1
Card sample
#feffab text on a white background
contrast 1.04:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #feffab;
Background color
Panel with #feffab background
background-color: #feffab;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #feffab;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(254, 255, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(254, 255, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #feffab; background: linear-gradient(135deg, #feffab, #C6FFAB);