Skip to content

#fffd0f

a balanced, electric yellow · cool · “yellow”

RGB
255, 253, 15
HSL
60°, 100%, 53%
CMYK
0, 1, 94, 0
Luminance
0.9155

Every format

HEX#fffd0f
RGBrgb(255, 253, 15)
HSLhsl(60, 100%, 53%)
CMYKcmyk(0%, 1%, 94%, 0%)
LABlab(96.6 -20.5 93.0)
LCHlch(96.6 95.3 102.4)
OKLCHoklch(0.964 0.208 109.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fffd0f on white: 1.09:1
AA ✗ fail · AA-large · AAA
Aa
#fffd0f on black: 19.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green99.2%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta0.8%
Yellow94.1%
Key (black)0.0%

Color previews

#fffd0f text on a black background

contrast 19.31:1

Card sample

#fffd0f text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffd0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffd0f in the Color Lab