#ffdf84
a light, electric yellow · warm · closest name: khaki
RGB
255, 223, 132
HSL
44°, 100%, 76%
CMYK
0, 13, 48, 0
Luminance
0.7570
Every format
| HEX | #ffdf84 |
| RGB | rgb(255, 223, 132) |
| HSL | hsl(44, 100%, 76%) |
| CMYK | cmyk(0%, 13%, 48%, 0%) |
| LAB | lab(89.7 -0.3 48.4) |
| LCH | lch(89.7 48.4 90.4) |
| OKLCH | oklch(0.911 0.116 90.6) |
Copy-ready code
/* CSS */
color: #ffdf84;
background-color: #ffdf84;
/* Tailwind (arbitrary) */
class="text-[#ffdf84] bg-[#ffdf84]"
/* SCSS */
$brand: #ffdf84;
/* SwiftUI */
Color(red: 1.000, green: 0.875, blue: 0.518)
/* Android */
Color.parseColor("#ffdf84")Accessibility — WCAG contrast
Aa
#ffdf84 on white: 1.30:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffdf84 on black: 16.14:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green87.5%
Blue51.8%
CMYK percentages
Cyan0.0%
Magenta12.5%
Yellow48.2%
Key (black)0.0%
Color previews
#ffdf84 text on a black background
contrast 16.14:1
Card sample
#ffdf84 text on a white background
contrast 1.30:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffdf84;
Background color
Panel with #ffdf84 background
background-color: #ffdf84;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffdf84;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 223, 132, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 223, 132, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffdf84; background: linear-gradient(135deg, #ffdf84, #CDFF84);