Skip to content

#fff25e

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

RGB
255, 242, 94
HSL
55°, 100%, 68%
CMYK
0, 5, 63, 0
Luminance
0.8557

Every format

HEX#fff25e
RGBrgb(255, 242, 94)
HSLhsl(55, 100%, 68%)
CMYKcmyk(0%, 5%, 63%, 0%)
LABlab(94.1 -12.6 70.5)
LCHlch(94.1 71.6 100.2)
OKLCHoklch(0.945 0.165 104.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fff25e on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#fff25e on black: 18.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green94.9%
Blue36.9%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow63.1%
Key (black)0.0%

Color previews

#fff25e text on a black background

contrast 18.11:1

Card sample

#fff25e text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff25e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff25e in the Color Lab