Skip to content

#faff33

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

RGB
250, 255, 51
HSL
62°, 100%, 60%
CMYK
2, 0, 80, 0
Luminance
0.9208

Every format

HEX#faff33
RGBrgb(250, 255, 51)
HSLhsl(62, 100%, 60%)
CMYKcmyk(2%, 0%, 80%, 0%)
LABlab(96.9 -22.8 87.1)
LCHlch(96.9 90.0 104.7)
OKLCHoklch(0.965 0.202 111.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.0%
Green100.0%
Blue20.0%

CMYK percentages

Cyan2.0%
Magenta0.0%
Yellow80.0%
Key (black)0.0%

Color previews

#faff33 text on a black background

contrast 19.42:1

Card sample

#faff33 text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faff33

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faff33 in the Color Lab