Skip to content

#f2feae

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

RGB
242, 254, 174
HSL
69°, 98%, 84%
CMYK
5, 0, 32, 0
Luminance
0.9282

Every format

HEX#f2feae
RGBrgb(242, 254, 174)
HSLhsl(69, 98%, 84%)
CMYKcmyk(5%, 0%, 32%, 0%)
LABlab(97.2 -16.2 37.0)
LCHlch(97.2 40.4 113.7)
OKLCHoklch(0.970 0.102 115.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2feae on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#f2feae on black: 19.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green99.6%
Blue68.2%

CMYK percentages

Cyan4.7%
Magenta0.0%
Yellow31.5%
Key (black)0.4%

Color previews

#f2feae text on a black background

contrast 19.56:1

Card sample

#f2feae text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2feae

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2feae in the Color Lab