Skip to content

#faff45

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

RGB
250, 255, 69
HSL
62°, 100%, 64%
CMYK
2, 0, 73, 0
Luminance
0.9227

Every format

HEX#faff45
RGBrgb(250, 255, 69)
HSLhsl(62, 100%, 64%)
CMYKcmyk(2%, 0%, 73%, 0%)
LABlab(96.9 -22.2 82.1)
LCHlch(96.9 85.1 105.1)
OKLCHoklch(0.966 0.194 111.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.0%
Green100.0%
Blue27.1%

CMYK percentages

Cyan2.0%
Magenta0.0%
Yellow72.9%
Key (black)0.0%

Color previews

#faff45 text on a black background

contrast 19.45:1

Card sample

#faff45 text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faff45

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faff45 in the Color Lab