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