Skip to content

#fcee2f

a balanced, electric yellow · cool · closest name: yellow

RGB
252, 238, 47
HSL
56°, 97%, 59%
CMYK
0, 6, 81, 1
Luminance
0.8205

Every format

HEX#fcee2f
RGBrgb(252, 238, 47)
HSLhsl(56, 97%, 59%)
CMYKcmyk(0%, 6%, 81%, 1%)
LABlab(92.6 -13.9 84.5)
LCHlch(92.6 85.6 99.4)
OKLCHoklch(0.931 0.188 104.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcee2f on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#fcee2f on black: 17.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green93.3%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta5.6%
Yellow81.3%
Key (black)1.2%

Color previews

#fcee2f text on a black background

contrast 17.41:1

Card sample

#fcee2f text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(252, 238, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(252, 238, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fcee2f;
background: linear-gradient(135deg, #fcee2f, #81FC2F);

Monochromatic scale

Palettes built from #fcee2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcee2f in the Color Lab