Skip to content

#fffa4b

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

RGB
255, 250, 75
HSL
58°, 100%, 65%
CMYK
0, 2, 71, 0
Luminance
0.9014

Every format

HEX#fffa4b
RGBrgb(255, 250, 75)
HSLhsl(58, 100%, 65%)
CMYKcmyk(0%, 2%, 71%, 0%)
LABlab(96.1 -17.5 79.5)
LCHlch(96.1 81.4 102.4)
OKLCHoklch(0.960 0.185 107.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fffa4b on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#fffa4b on black: 19.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green98.0%
Blue29.4%

CMYK percentages

Cyan0.0%
Magenta2.0%
Yellow70.6%
Key (black)0.0%

Color previews

#fffa4b text on a black background

contrast 19.03:1

Card sample

#fffa4b text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffa4b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffa4b in the Color Lab