#f4d280
a light, electric yellow · warm · closest name: khaki
RGB
244, 210, 128
HSL
42°, 84%, 73%
CMYK
0, 14, 48, 4
Luminance
0.6688
Every format
| HEX | #f4d280 |
| RGB | rgb(244, 210, 128) |
| HSL | hsl(42, 84%, 73%) |
| CMYK | cmyk(0%, 14%, 48%, 4%) |
| LAB | lab(85.5 1.6 44.9) |
| LCH | lch(85.5 44.9 88.0) |
| OKLCH | oklch(0.875 0.108 87.6) |
Copy-ready code
/* CSS */
color: #f4d280;
background-color: #f4d280;
/* Tailwind (arbitrary) */
class="text-[#f4d280] bg-[#f4d280]"
/* SCSS */
$brand: #f4d280;
/* SwiftUI */
Color(red: 0.957, green: 0.824, blue: 0.502)
/* Android */
Color.parseColor("#f4d280")Accessibility — WCAG contrast
Aa
#f4d280 on white: 1.46:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f4d280 on black: 14.38:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red95.7%
Green82.4%
Blue50.2%
CMYK percentages
Cyan0.0%
Magenta13.9%
Yellow47.5%
Key (black)4.3%
Color previews
#f4d280 text on a black background
contrast 14.38:1
Card sample
#f4d280 text on a white background
contrast 1.46:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f4d280;
Background color
Panel with #f4d280 background
background-color: #f4d280;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f4d280;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(244, 210, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(244, 210, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f4d280; background: linear-gradient(135deg, #f4d280, #C9F480);