Skip to content

#ffff39

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

RGB
255, 255, 57
HSL
60°, 100%, 61%
CMYK
0, 0, 78, 0
Luminance
0.9308

Every format

HEX#ffff39
RGBrgb(255, 255, 57)
HSLhsl(60, 100%, 61%)
CMYKcmyk(0%, 0%, 78%, 0%)
LABlab(97.3 -20.6 86.0)
LCHlch(97.3 88.5 103.5)
OKLCHoklch(0.969 0.198 109.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green100.0%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow77.6%
Key (black)0.0%

Color previews

#ffff39 text on a black background

contrast 19.62:1

Card sample

#ffff39 text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffff39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffff39 in the Color Lab