#f4eb78
a light, electric yellow · cool · closest name: khaki
RGB
244, 235, 120
HSL
56°, 85%, 71%
CMYK
0, 4, 51, 4
Luminance
0.8001
Every format
| HEX | #f4eb78 |
| RGB | rgb(244, 235, 120) |
| HSL | hsl(56, 85%, 71%) |
| CMYK | cmyk(0%, 4%, 51%, 4%) |
| LAB | lab(91.7 -11.8 56.3) |
| LCH | lch(91.7 57.5 101.8) |
| OKLCH | oklch(0.924 0.137 104.7) |
Copy-ready code
/* CSS */
color: #f4eb78;
background-color: #f4eb78;
/* Tailwind (arbitrary) */
class="text-[#f4eb78] bg-[#f4eb78]"
/* SCSS */
$brand: #f4eb78;
/* SwiftUI */
Color(red: 0.957, green: 0.922, blue: 0.471)
/* Android */
Color.parseColor("#f4eb78")Accessibility — WCAG contrast
Aa
#f4eb78 on white: 1.24:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f4eb78 on black: 17.00:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red95.7%
Green92.2%
Blue47.1%
CMYK percentages
Cyan0.0%
Magenta3.7%
Yellow50.8%
Key (black)4.3%
Color previews
#f4eb78 text on a black background
contrast 17.00:1
Card sample
#f4eb78 text on a white background
contrast 1.24:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f4eb78;
Background color
Panel with #f4eb78 background
background-color: #f4eb78;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f4eb78;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(244, 235, 120, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(244, 235, 120, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f4eb78; background: linear-gradient(135deg, #f4eb78, #ABF478);