Skip to content

#fdf123

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

RGB
253, 241, 35
HSL
57°, 98%, 57%
CMYK
0, 5, 86, 1
Luminance
0.8391

Every format

HEX#fdf123
RGBrgb(253, 241, 35)
HSLhsl(57, 98%, 57%)
CMYKcmyk(0%, 5%, 86%, 1%)
LABlab(93.4 -15.3 87.8)
LCHlch(93.4 89.1 99.9)
OKLCHoklch(0.938 0.194 105.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf123 on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#fdf123 on black: 17.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green94.5%
Blue13.7%

CMYK percentages

Cyan0.0%
Magenta4.7%
Yellow86.2%
Key (black)0.8%

Color previews

#fdf123 text on a black background

contrast 17.78:1

Card sample

#fdf123 text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(253, 241, 35, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 241, 35, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdf123;
background: linear-gradient(135deg, #fdf123, #78FD23);

Monochromatic scale

Palettes built from #fdf123

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf123 in the Color Lab