Skip to content

#fff930

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

RGB
255, 249, 48
HSL
58°, 100%, 59%
CMYK
0, 2, 81, 0
Luminance
0.8922

Every format

HEX#fff930
RGBrgb(255, 249, 48)
HSLhsl(58, 100%, 59%)
CMYKcmyk(0%, 2%, 81%, 0%)
LABlab(95.7 -18.0 86.9)
LCHlch(95.7 88.8 101.7)
OKLCHoklch(0.957 0.196 107.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fff930 on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#fff930 on black: 18.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green97.6%
Blue18.8%

CMYK percentages

Cyan0.0%
Magenta2.4%
Yellow81.2%
Key (black)0.0%

Color previews

#fff930 text on a black background

contrast 18.84:1

Card sample

#fff930 text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff930

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff930 in the Color Lab