Skip to content

#faff2b

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

RGB
250, 255, 43
HSL
61°, 100%, 58%
CMYK
2, 0, 83, 0
Luminance
0.9202

Every format

HEX#faff2b
RGBrgb(250, 255, 43)
HSLhsl(61, 100%, 58%)
CMYKcmyk(2%, 0%, 83%, 0%)
LABlab(96.8 -23.0 88.8)
LCHlch(96.8 91.8 104.5)
OKLCHoklch(0.965 0.204 111.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.0%
Green100.0%
Blue16.9%

CMYK percentages

Cyan2.0%
Magenta0.0%
Yellow83.1%
Key (black)0.0%

Color previews

#faff2b text on a black background

contrast 19.40:1

Card sample

#faff2b text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faff2b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faff2b in the Color Lab