#fef968
a light, electric yellow · cool · closest name: khaki
RGB
254, 249, 104
HSL
58°, 99%, 70%
CMYK
0, 2, 59, 0
Luminance
0.8982
Every format
| HEX | #fef968 |
| RGB | rgb(254, 249, 104) |
| HSL | hsl(58, 99%, 70%) |
| CMYK | cmyk(0%, 2%, 59%, 0%) |
| LAB | lab(95.9 -15.8 68.3) |
| LCH | lch(95.9 70.1 103.0) |
| OKLCH | oklch(0.959 0.164 107.3) |
Copy-ready code
/* CSS */
color: #fef968;
background-color: #fef968;
/* Tailwind (arbitrary) */
class="text-[#fef968] bg-[#fef968]"
/* SCSS */
$brand: #fef968;
/* SwiftUI */
Color(red: 0.996, green: 0.976, blue: 0.408)
/* Android */
Color.parseColor("#fef968")Accessibility — WCAG contrast
Aa
#fef968 on white: 1.11:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fef968 on black: 18.96:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red99.6%
Green97.6%
Blue40.8%
CMYK percentages
Cyan0.0%
Magenta2.0%
Yellow59.1%
Key (black)0.4%
Color previews
#fef968 text on a black background
contrast 18.96:1
Card sample
#fef968 text on a white background
contrast 1.11:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fef968;
Background color
Panel with #fef968 background
background-color: #fef968;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fef968;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(254, 249, 104, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(254, 249, 104, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fef968; background: linear-gradient(135deg, #fef968, #9FFE68);