Skip to content

#fcff22

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

RGB
252, 255, 34
HSL
61°, 100%, 57%
CMYK
1, 0, 87, 0
Luminance
0.9233

Every format

HEX#fcff22
RGBrgb(252, 255, 34)
HSLhsl(61, 100%, 57%)
CMYKcmyk(1%, 0%, 87%, 0%)
LABlab(97.0 -22.4 90.7)
LCHlch(97.0 93.5 103.9)
OKLCHoklch(0.966 0.207 110.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green100.0%
Blue13.3%

CMYK percentages

Cyan1.2%
Magenta0.0%
Yellow86.7%
Key (black)0.0%

Color previews

#fcff22 text on a black background

contrast 19.47:1

Card sample

#fcff22 text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(252, 255, 34, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(252, 255, 34, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fcff22;
background: linear-gradient(135deg, #fcff22, #69FF22);

Monochromatic scale

Palettes built from #fcff22

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcff22 in the Color Lab