#f2ffcf
a pale, electric green · cool · closest name: beige
RGB
242, 255, 207
HSL
76°, 100%, 91%
CMYK
5, 0, 19, 0
Luminance
0.9490
Every format
| HEX | #f2ffcf |
| RGB | rgb(242, 255, 207) |
| HSL | hsl(76, 100%, 91%) |
| CMYK | cmyk(5%, 0%, 19%, 0%) |
| LAB | lab(98.0 -12.2 21.6) |
| LCH | lch(98.0 24.8 119.6) |
| OKLCH | oklch(0.978 0.064 119.9) |
Copy-ready code
/* CSS */
color: #f2ffcf;
background-color: #f2ffcf;
/* Tailwind (arbitrary) */
class="text-[#f2ffcf] bg-[#f2ffcf]"
/* SCSS */
$brand: #f2ffcf;
/* SwiftUI */
Color(red: 0.949, green: 1.000, blue: 0.812)
/* Android */
Color.parseColor("#f2ffcf")Accessibility — WCAG contrast
Aa
#f2ffcf on white: 1.05:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f2ffcf on black: 19.98:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.9%
Green100.0%
Blue81.2%
CMYK percentages
Cyan5.1%
Magenta0.0%
Yellow18.8%
Key (black)0.0%
Color previews
#f2ffcf text on a black background
contrast 19.98:1
Card sample
#f2ffcf text on a white background
contrast 1.05:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f2ffcf;
Background color
Panel with #f2ffcf background
background-color: #f2ffcf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f2ffcf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(242, 255, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(242, 255, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f2ffcf; background: linear-gradient(135deg, #f2ffcf, #D2FFCF);