Skip to content

#fefea2

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

RGB
254, 254, 162
HSL
60°, 98%, 82%
CMYK
0, 0, 36, 0
Luminance
0.9456

Every format

HEX#fefea2
RGBrgb(254, 254, 162)
HSLhsl(60, 98%, 82%)
CMYKcmyk(0%, 0%, 36%, 0%)
LABlab(97.9 -13.2 44.0)
LCHlch(97.9 46.0 106.7)
OKLCHoklch(0.977 0.114 108.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fefea2 on white: 1.05:1
AA ✗ fail · AA-large · AAA
Aa
#fefea2 on black: 19.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green99.6%
Blue63.5%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow36.2%
Key (black)0.4%

Color previews

#fefea2 text on a black background

contrast 19.91:1

Card sample

#fefea2 text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fefea2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefea2 in the Color Lab