Skip to content

#f2fdba

a pale, electric yellow · cool · closest name: khaki

RGB
242, 253, 186
HSL
70°, 94%, 86%
CMYK
4, 0, 27, 1
Luminance
0.9267

Every format

HEX#f2fdba
RGBrgb(242, 253, 186)
HSLhsl(70, 94%, 86%)
CMYKcmyk(4%, 0%, 27%, 1%)
LABlab(97.1 -14.2 30.9)
LCHlch(97.1 34.0 114.7)
OKLCHoklch(0.970 0.086 115.6)

Copy-ready code

/* CSS */
color: #f2fdba;
background-color: #f2fdba;
/* Tailwind (arbitrary) */
class="text-[#f2fdba] bg-[#f2fdba]"
/* SCSS */
$brand: #f2fdba;
/* SwiftUI */
Color(red: 0.949, green: 0.992, blue: 0.729)
/* Android */
Color.parseColor("#f2fdba")

Accessibility — WCAG contrast

Aa
#f2fdba on white: 1.08:1
AA ✗ fail · AA-large · AAA
Aa
#f2fdba on black: 19.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green99.2%
Blue72.9%

CMYK percentages

Cyan4.3%
Magenta0.0%
Yellow26.5%
Key (black)0.8%

Color previews

#f2fdba text on a black background

contrast 19.53:1

Card sample

#f2fdba text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #f2fdba;
Background color
Panel with #f2fdba background
background-color: #f2fdba;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #f2fdba;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(242, 253, 186, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(242, 253, 186, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f2fdba;
background: linear-gradient(135deg, #f2fdba, #C5FDBA);

Monochromatic scale

Palettes built from #f2fdba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2fdba in the Color Lab