Skip to content

#faff66

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

RGB
250, 255, 102
HSL
62°, 100%, 70%
CMYK
2, 0, 60, 0
Luminance
0.9280

Every format

HEX#faff66
RGBrgb(250, 255, 102)
HSLhsl(62, 100%, 70%)
CMYKcmyk(2%, 0%, 60%, 0%)
LABlab(97.2 -20.4 70.4)
LCHlch(97.2 73.3 106.2)
OKLCHoklch(0.968 0.172 111.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#faff66 on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#faff66 on black: 19.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green100.0%
Blue40.0%

CMYK percentages

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

Color previews

#faff66 text on a black background

contrast 19.56:1

Card sample

#faff66 text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faff66

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faff66 in the Color Lab