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