#f1ffaf
a light, electric green · cool · closest name: khaki
RGB
241, 255, 175
HSL
71°, 100%, 84%
CMYK
6, 0, 31, 0
Luminance
0.9332
Every format
| HEX | #f1ffaf |
| RGB | rgb(241, 255, 175) |
| HSL | hsl(71, 100%, 84%) |
| CMYK | cmyk(6%, 0%, 31%, 0%) |
| LAB | lab(97.4 -17.0 36.8) |
| LCH | lch(97.4 40.5 114.8) |
| OKLCH | oklch(0.971 0.102 116.4) |
Copy-ready code
/* CSS */
color: #f1ffaf;
background-color: #f1ffaf;
/* Tailwind (arbitrary) */
class="text-[#f1ffaf] bg-[#f1ffaf]"
/* SCSS */
$brand: #f1ffaf;
/* SwiftUI */
Color(red: 0.945, green: 1.000, blue: 0.686)
/* Android */
Color.parseColor("#f1ffaf")Accessibility — WCAG contrast
Aa
#f1ffaf on white: 1.07:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f1ffaf on black: 19.66:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.5%
Green100.0%
Blue68.6%
CMYK percentages
Cyan5.5%
Magenta0.0%
Yellow31.4%
Key (black)0.0%
Color previews
#f1ffaf text on a black background
contrast 19.66:1
Card sample
#f1ffaf text on a white background
contrast 1.07:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f1ffaf;
Background color
Panel with #f1ffaf background
background-color: #f1ffaf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f1ffaf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(241, 255, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(241, 255, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f1ffaf; background: linear-gradient(135deg, #f1ffaf, #BCFFAF);