Skip to content

#fffa22

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

RGB
255, 250, 34
HSL
59°, 100%, 57%
CMYK
0, 2, 87, 0
Luminance
0.8975

Every format

HEX#fffa22
RGBrgb(255, 250, 34)
HSLhsl(59, 100%, 57%)
CMYKcmyk(0%, 2%, 87%, 0%)
LABlab(95.9 -18.8 90.0)
LCHlch(95.9 91.9 101.8)
OKLCHoklch(0.958 0.202 108.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fffa22 on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#fffa22 on black: 18.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green98.0%
Blue13.3%

CMYK percentages

Cyan0.0%
Magenta2.0%
Yellow86.7%
Key (black)0.0%

Color previews

#fffa22 text on a black background

contrast 18.95:1

Card sample

#fffa22 text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffa22

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffa22 in the Color Lab