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