Skip to content

#fffd5f

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

RGB
255, 253, 95
HSL
59°, 100%, 69%
CMYK
0, 1, 63, 0
Luminance
0.9234

Every format

HEX#fffd5f
RGBrgb(255, 253, 95)
HSLhsl(59, 100%, 69%)
CMYKcmyk(0%, 1%, 63%, 0%)
LABlab(97.0 -17.9 73.1)
LCHlch(97.0 75.2 103.8)
OKLCHoklch(0.968 0.174 108.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green99.2%
Blue37.3%

CMYK percentages

Cyan0.0%
Magenta0.8%
Yellow62.7%
Key (black)0.0%

Color previews

#fffd5f text on a black background

contrast 19.47:1

Card sample

#fffd5f text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(255, 253, 95, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 253, 95, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fffd5f;
background: linear-gradient(135deg, #fffd5f, #96FF5F);

Monochromatic scale

Palettes built from #fffd5f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffd5f in the Color Lab