#ffdf94
a light, electric yellow · warm · closest name: khaki
RGB
255, 223, 148
HSL
42°, 100%, 79%
CMYK
0, 13, 42, 0
Luminance
0.7617
Every format
| HEX | #ffdf94 |
| RGB | rgb(255, 223, 148) |
| HSL | hsl(42, 100%, 79%) |
| CMYK | cmyk(0%, 13%, 42%, 0%) |
| LAB | lab(89.9 1.2 40.8) |
| LCH | lch(89.9 40.8 88.3) |
| OKLCH | oklch(0.914 0.100 87.3) |
Copy-ready code
/* CSS */
color: #ffdf94;
background-color: #ffdf94;
/* Tailwind (arbitrary) */
class="text-[#ffdf94] bg-[#ffdf94]"
/* SCSS */
$brand: #ffdf94;
/* SwiftUI */
Color(red: 1.000, green: 0.875, blue: 0.580)
/* Android */
Color.parseColor("#ffdf94")Accessibility — WCAG contrast
Aa
#ffdf94 on white: 1.29:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffdf94 on black: 16.23:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green87.5%
Blue58.0%
CMYK percentages
Cyan0.0%
Magenta12.5%
Yellow42.0%
Key (black)0.0%
Color previews
#ffdf94 text on a black background
contrast 16.23:1
Card sample
#ffdf94 text on a white background
contrast 1.29:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffdf94;
Background color
Panel with #ffdf94 background
background-color: #ffdf94;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffdf94;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 223, 148, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 223, 148, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffdf94; background: linear-gradient(135deg, #ffdf94, #D8FF94);