#f4d492
a light, electric yellow · warm · closest name: khaki
RGB
244, 212, 146
HSL
40°, 82%, 77%
CMYK
0, 13, 40, 4
Luminance
0.6840
Every format
| HEX | #f4d492 |
| RGB | rgb(244, 212, 146) |
| HSL | hsl(40, 82%, 77%) |
| CMYK | cmyk(0%, 13%, 40%, 4%) |
| LAB | lab(86.2 2.3 36.8) |
| LCH | lch(86.2 36.8 86.4) |
| OKLCH | oklch(0.882 0.091 84.8) |
Copy-ready code
/* CSS */
color: #f4d492;
background-color: #f4d492;
/* Tailwind (arbitrary) */
class="text-[#f4d492] bg-[#f4d492]"
/* SCSS */
$brand: #f4d492;
/* SwiftUI */
Color(red: 0.957, green: 0.831, blue: 0.573)
/* Android */
Color.parseColor("#f4d492")Accessibility — WCAG contrast
Aa
#f4d492 on white: 1.43:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f4d492 on black: 14.68:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red95.7%
Green83.1%
Blue57.3%
CMYK percentages
Cyan0.0%
Magenta13.1%
Yellow40.2%
Key (black)4.3%
Color previews
#f4d492 text on a black background
contrast 14.68:1
Card sample
#f4d492 text on a white background
contrast 1.43:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f4d492;
Background color
Panel with #f4d492 background
background-color: #f4d492;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f4d492;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(244, 212, 146, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(244, 212, 146, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f4d492; background: linear-gradient(135deg, #f4d492, #D3F492);