#f2fcbc
a pale, electric yellow · cool · closest name: khaki
RGB
242, 252, 188
HSL
69°, 91%, 86%
CMYK
4, 0, 25, 1
Luminance
0.9213
Every format
| HEX | #f2fcbc |
| RGB | rgb(242, 252, 188) |
| HSL | hsl(69, 91%, 86%) |
| CMYK | cmyk(4%, 0%, 25%, 1%) |
| LAB | lab(96.9 -13.4 29.6) |
| LCH | lch(96.9 32.5 114.4) |
| OKLCH | oklch(0.968 0.083 115.2) |
Copy-ready code
/* CSS */
color: #f2fcbc;
background-color: #f2fcbc;
/* Tailwind (arbitrary) */
class="text-[#f2fcbc] bg-[#f2fcbc]"
/* SCSS */
$brand: #f2fcbc;
/* SwiftUI */
Color(red: 0.949, green: 0.988, blue: 0.737)
/* Android */
Color.parseColor("#f2fcbc")Accessibility — WCAG contrast
Aa
#f2fcbc on white: 1.08:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f2fcbc on black: 19.43:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.9%
Green98.8%
Blue73.7%
CMYK percentages
Cyan4.0%
Magenta0.0%
Yellow25.4%
Key (black)1.2%
Color previews
#f2fcbc text on a black background
contrast 19.43:1
Card sample
#f2fcbc text on a white background
contrast 1.08:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f2fcbc;
Background color
Panel with #f2fcbc background
background-color: #f2fcbc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f2fcbc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(242, 252, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(242, 252, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f2fcbc; background: linear-gradient(135deg, #f2fcbc, #C7FCBC);