#f2f484
a light, electric yellow · cool · closest name: khaki
RGB
242, 244, 132
HSL
61°, 84%, 74%
CMYK
1, 0, 46, 4
Luminance
0.8524
Every format
| HEX | #f2f484 |
| RGB | rgb(242, 244, 132) |
| HSL | hsl(61, 84%, 74%) |
| CMYK | cmyk(1%, 0%, 46%, 4%) |
| LAB | lab(94.0 -15.9 53.4) |
| LCH | lch(94.0 55.7 106.6) |
| OKLCH | oklch(0.943 0.135 109.6) |
Copy-ready code
/* CSS */
color: #f2f484;
background-color: #f2f484;
/* Tailwind (arbitrary) */
class="text-[#f2f484] bg-[#f2f484]"
/* SCSS */
$brand: #f2f484;
/* SwiftUI */
Color(red: 0.949, green: 0.957, blue: 0.518)
/* Android */
Color.parseColor("#f2f484")Accessibility — WCAG contrast
Aa
#f2f484 on white: 1.16:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f2f484 on black: 18.05:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.9%
Green95.7%
Blue51.8%
CMYK percentages
Cyan0.8%
Magenta0.0%
Yellow45.9%
Key (black)4.3%
Color previews
#f2f484 text on a black background
contrast 18.05:1
Card sample
#f2f484 text on a white background
contrast 1.16:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f2f484;
Background color
Panel with #f2f484 background
background-color: #f2f484;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f2f484;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(242, 244, 132, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(242, 244, 132, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f2f484; background: linear-gradient(135deg, #f2f484, #A7F484);