Skip to content

#ffff11

a balanced, electric yellow · cool · “yellow”

RGB
255, 255, 17
HSL
60°, 100%, 53%
CMYK
0, 0, 93, 0
Luminance
0.9282

Every format

HEX#ffff11
RGBrgb(255, 255, 17)
HSLhsl(60, 100%, 53%)
CMYKcmyk(0%, 0%, 93%, 0%)
LABlab(97.2 -21.4 93.2)
LCHlch(97.2 95.7 102.9)
OKLCHoklch(0.968 0.209 109.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffff11 on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#ffff11 on black: 19.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green100.0%
Blue6.7%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow93.3%
Key (black)0.0%

Color previews

#ffff11 text on a black background

contrast 19.56:1

Card sample

#ffff11 text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffff11

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffff11 in the Color Lab