#f4ff72
a light, electric yellow · cool · closest name: khaki
RGB
244, 255, 114
HSL
65°, 100%, 72%
CMYK
4, 0, 55, 0
Luminance
0.9197
Every format
| HEX | #f4ff72 |
| RGB | rgb(244, 255, 114) |
| HSL | hsl(65, 100%, 72%) |
| CMYK | cmyk(4%, 0%, 55%, 0%) |
| LAB | lab(96.8 -21.9 64.8) |
| LCH | lch(96.8 68.5 108.7) |
| OKLCH | oklch(0.965 0.164 113.2) |
Copy-ready code
/* CSS */
color: #f4ff72;
background-color: #f4ff72;
/* Tailwind (arbitrary) */
class="text-[#f4ff72] bg-[#f4ff72]"
/* SCSS */
$brand: #f4ff72;
/* SwiftUI */
Color(red: 0.957, green: 1.000, blue: 0.447)
/* Android */
Color.parseColor("#f4ff72")Accessibility — WCAG contrast
Aa
#f4ff72 on white: 1.08:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f4ff72 on black: 19.39:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red95.7%
Green100.0%
Blue44.7%
CMYK percentages
Cyan4.3%
Magenta0.0%
Yellow55.3%
Key (black)0.0%
Color previews
#f4ff72 text on a black background
contrast 19.39:1
Card sample
#f4ff72 text on a white background
contrast 1.08:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f4ff72;
Background color
Panel with #f4ff72 background
background-color: #f4ff72;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f4ff72;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(244, 255, 114, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(244, 255, 114, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f4ff72; background: linear-gradient(135deg, #f4ff72, #96FF72);