#f4ffac
a light, electric yellow · cool · closest name: khaki
RGB
244, 255, 172
HSL
68°, 100%, 84%
CMYK
4, 0, 33, 0
Luminance
0.9373
Every format
| HEX | #f4ffac |
| RGB | rgb(244, 255, 172) |
| HSL | hsl(68, 100%, 84%) |
| CMYK | cmyk(4%, 0%, 33%, 0%) |
| LAB | lab(97.5 -16.2 38.5) |
| LCH | lch(97.5 41.8 112.8) |
| OKLCH | oklch(0.973 0.105 114.5) |
Copy-ready code
/* CSS */
color: #f4ffac;
background-color: #f4ffac;
/* Tailwind (arbitrary) */
class="text-[#f4ffac] bg-[#f4ffac]"
/* SCSS */
$brand: #f4ffac;
/* SwiftUI */
Color(red: 0.957, green: 1.000, blue: 0.675)
/* Android */
Color.parseColor("#f4ffac")Accessibility — WCAG contrast
Aa
#f4ffac on white: 1.06:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f4ffac on black: 19.75:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red95.7%
Green100.0%
Blue67.5%
CMYK percentages
Cyan4.3%
Magenta0.0%
Yellow32.5%
Key (black)0.0%
Color previews
#f4ffac text on a black background
contrast 19.75:1
Card sample
#f4ffac text on a white background
contrast 1.06:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f4ffac;
Background color
Panel with #f4ffac background
background-color: #f4ffac;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f4ffac;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(244, 255, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(244, 255, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f4ffac; background: linear-gradient(135deg, #f4ffac, #BCFFAC);