Skip to content

#fdf60c

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

RGB
253, 246, 12
HSL
58°, 98%, 52%
CMYK
0, 3, 95, 1
Luminance
0.8682

Every format

HEX#fdf60c
RGBrgb(253, 246, 12)
HSLhsl(58, 98%, 52%)
CMYKcmyk(0%, 3%, 95%, 1%)
LABlab(94.7 -18.0 91.7)
LCHlch(94.7 93.5 101.1)
OKLCHoklch(0.948 0.203 107.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf60c on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#fdf60c on black: 18.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green96.5%
Blue4.7%

CMYK percentages

Cyan0.0%
Magenta2.8%
Yellow95.3%
Key (black)0.8%

Color previews

#fdf60c text on a black background

contrast 18.36:1

Card sample

#fdf60c text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(253, 246, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 246, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdf60c;
background: linear-gradient(135deg, #fdf60c, #63FD0C);

Monochromatic scale

Palettes built from #fdf60c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf60c in the Color Lab