Skip to content

#ffff4d

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

RGB
255, 255, 77
HSL
60°, 100%, 65%
CMYK
0, 0, 70, 0
Luminance
0.9332

Every format

HEX#ffff4d
RGBrgb(255, 255, 77)
HSLhsl(60, 100%, 65%)
CMYKcmyk(0%, 0%, 70%, 0%)
LABlab(97.4 -19.8 80.1)
LCHlch(97.4 82.5 103.9)
OKLCHoklch(0.970 0.188 109.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green100.0%
Blue30.2%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow69.8%
Key (black)0.0%

Color previews

#ffff4d text on a black background

contrast 19.66:1

Card sample

#ffff4d text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffff4d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffff4d in the Color Lab